write pytest api fixtures in a seperate file