test.cata_log_hub.conftest module

test.cata_log_hub.conftest.temp_settings_paths(monkeypatch, tmp_path)[source]
test.cata_log_hub.conftest.add_image_providers_to_faker(_session_faker)[source]
test.cata_log_hub.conftest.engine()[source]
test.cata_log_hub.conftest.connection(engine)[source]
test.cata_log_hub.conftest.transaction(connection)[source]
test.cata_log_hub.conftest.LocalSession(connection, transaction)[source]
test.cata_log_hub.conftest.patch_engine(monkeypatch, engine)[source]
test.cata_log_hub.conftest.patch_DBSession(monkeypatch, LocalSession)[source]
test.cata_log_hub.conftest.db_session(LocalSession)[source]
test.cata_log_hub.conftest.started_scheduler()[source]
test.cata_log_hub.conftest.fake_username(monkeypatch, faker)[source]
test.cata_log_hub.conftest.fake_password(monkeypatch, faker)[source]
test.cata_log_hub.conftest.fake_credentials(fake_username, fake_password)[source]
test.cata_log_hub.conftest.fake_credentials_encoded(fake_credentials)[source]
test.cata_log_hub.conftest.public_get(monkeypatch)[source]
test.cata_log_hub.conftest.fastapi_app(monkeypatch)[source]
test.cata_log_hub.conftest.noauth_client(fake_credentials, fastapi_app)[source]
test.cata_log_hub.conftest.bad_auth_client(noauth_client)[source]
test.cata_log_hub.conftest.client(fake_credentials_encoded, noauth_client)[source]
test.cata_log_hub.conftest.fake_request(faker, request)[source]
test.cata_log_hub.conftest.fake_provider(db_session, provider_test_class)[source]
test.cata_log_hub.conftest.fake_catalog_current(db_session, fake_provider)[source]
test.cata_log_hub.conftest.fake_catalog_outdated(db_session, fake_provider)[source]
test.cata_log_hub.conftest.fake_catalog_preview(db_session, fake_provider)[source]
test.cata_log_hub.conftest.fake_catalog(fake_catalog_preview)[source]
test.cata_log_hub.conftest.fake_latest_catalog(fake_catalog_preview)[source]
test.cata_log_hub.conftest.fake_file(faker)[source]
test.cata_log_hub.conftest.fake_pagefile(faker, db_session, fake_file)[source]
test.cata_log_hub.conftest.fake_page(db_session, fake_catalog_preview, fake_pagefile)[source]
test.cata_log_hub.conftest.full_database(fake_provider, fake_catalog_outdated, fake_catalog_current, fake_catalog_preview, fake_page)[source]
class test.cata_log_hub.conftest.SideEffects[source]

Bases: StrEnum

DONOTHING = 'donothing'
HTTP_400 = '400'
HTTP_404 = '404'
HTTP_500 = '500'
TRANSPORTERROR = 'transporterror'
KEYERROR = 'keyerror'
VALUEERROR = 'valueerror'
EXCEPTION = 'exception'
PAGESEXHAUSTED = 'pagesexhausted'
CATALOGUNAVAILABLE = 'catalogunavailable'
classmethod run(side_effect)[source]
static _generate_next_value_(name, start, count, last_values)

Return the lower-cased version of the member name.

__new__(value)
__str__()

Return str(self).

test.cata_log_hub.conftest.provider_test_class(_session_faker)[source]
test.cata_log_hub.conftest.preview_provider_test_class(provider_test_class)[source]