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_client
explicitly and requires the seed, must also request therequire_scicat_backend
fixture.- Returns:
FakeClient
– A fake client that potentially contains the seed data. Seescitacean.testing.backend.seed
.