scitacean.testing.backend.fixtures.fake_client#
- scitacean.testing.backend.fixtures.fake_client(scicat_access)[source]#
Fixture that returns a fake client.
The client is seeded from the same data as the backend. But only if the backend has been requested. So any test that uses
fake_clientexplicitly and requires the seed, must also request therequire_scicat_backendfixture.- Returns:
FakeClient– A fake client that potentially contains the seed data. Seescitacean.testing.backend.seed.