Skip to content

Commit 24d80c8

Browse files
wip unit tests [skip ci]
1 parent 1c9bb68 commit 24d80c8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@
1111
import pytest
1212

1313
# Local application imports
14-
from opengeodeweb_back.app import app
14+
from opengeodeweb_back.app import create_app
1515

1616
from opengeodeweb_microservice.database.connection import init_database
1717

1818
TEST_ID = "1"
1919

20+
app = create_app(__name__)
2021

2122
@pytest.fixture(scope="session", autouse=True)
2223
def configure_test_environment() -> Generator[None, None, None]:

0 commit comments

Comments
 (0)