scitacean.testing.backend.fixtures#

Pytest fixtures to manage and access a local SciCat backend.

Functions

client(request, scicat_backend)

Fixture that returns a real and a fake client.

fake_client(scicat_access)

Fixture that returns a fake client.

real_client(scicat_access, scicat_backend)

Fixture that returns a real client if backend tests are enabled.

require_scicat_backend(request, scicat_backend)

Fixture to declare that a test needs a local scicat backend.

scicat_access()

Fixture that returns SciCat access parameters.

scicat_backend(request, tmp_path_factory, ...)

Fixture to declare that a test needs a local scicat backend.