Fixes location of the fixture

This commit is contained in:
Trenton H
2026-03-18 15:05:04 -07:00
parent 7428bbb8dc
commit b80702acb8
2 changed files with 8 additions and 8 deletions
+8
View File
@@ -314,3 +314,11 @@ def mail_parser() -> Generator[MailDocumentParser, None, None]:
"""
with MailDocumentParser() as parser:
yield parser
@pytest.fixture(scope="session")
def nginx_base_url() -> Generator[str, None, None]:
"""
The base URL for the nginx HTTP server we expect to be alive
"""
yield "http://localhost:8080"
-8
View File
@@ -96,11 +96,3 @@ def greenmail_mail_account(db: None) -> Generator[MailAccount, None, None]:
@pytest.fixture()
def mail_account_handler() -> MailAccountHandler:
return MailAccountHandler()
@pytest.fixture(scope="session")
def nginx_base_url() -> Generator[str, None, None]:
"""
The base URL for the nginx HTTP server we expect to be alive
"""
yield "http://localhost:8080"