Skip to content

Commit 708b927

Browse files
Fixing typo
1 parent ca14dfc commit 708b927

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests_integration/conftest.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import app.main as main
1515
import time
1616

17+
1718
@pytest.fixture(scope="session")
1819
def postgres_docker_container() -> Generator[DockerContainer, None, None]:
1920
env_vars: dict[str, str] = {
@@ -39,16 +40,16 @@ def postgres_docker_container() -> Generator[DockerContainer, None, None]:
3940

4041
@pytest.fixture
4142
def test_client(
42-
change_posgtres_db_host: config.Settings,
43-
change_posgtres_db_port: config.Settings,
43+
change_postgres_db_host: config.Settings,
44+
change_postgres_db_port: config.Settings,
4445
) -> Generator[TestClient, None, None]:
4546
app = reload(main).app
4647
with TestClient(app) as client:
4748
yield client
4849

4950

5051
@pytest.fixture
51-
def change_posgtres_db_host(
52+
def change_postgres_db_host(
5253
postgres_docker_container: DockerContainer, monkeypatch
5354
) -> Generator[config.Settings, None, None]:
5455
name = "APP_DB_HOST"
@@ -63,7 +64,7 @@ def change_posgtres_db_host(
6364

6465

6566
@pytest.fixture
66-
def change_posgtres_db_port(
67+
def change_postgres_db_port(
6768
postgres_docker_container: DockerContainer, monkeypatch
6869
) -> Generator[config.Settings, None, None]:
6970
name = "APP_DB_PORT"

0 commit comments

Comments
 (0)