API and database models refactoring
This commit is contained in:
2
tests/fixtures/auth_fixtures.py
vendored
2
tests/fixtures/auth_fixtures.py
vendored
@@ -4,7 +4,7 @@ import uuid
|
||||
import pytest
|
||||
|
||||
from middleware.auth import AuthManager
|
||||
from models.database_models import User
|
||||
from models.database.user import User
|
||||
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
|
||||
2
tests/fixtures/marketplace_fixtures.py
vendored
2
tests/fixtures/marketplace_fixtures.py
vendored
@@ -1,7 +1,7 @@
|
||||
# tests/fixtures/marketplace_fixtures.py
|
||||
import pytest
|
||||
|
||||
from models.database_models import MarketplaceImportJob
|
||||
from models.database.marketplace import MarketplaceImportJob
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
|
||||
2
tests/fixtures/product_fixtures.py
vendored
2
tests/fixtures/product_fixtures.py
vendored
@@ -3,7 +3,7 @@ import uuid
|
||||
|
||||
import pytest
|
||||
|
||||
from models.database_models import Product
|
||||
from models.database.product import Product
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
|
||||
3
tests/fixtures/shop_fixtures.py
vendored
3
tests/fixtures/shop_fixtures.py
vendored
@@ -3,7 +3,8 @@ import uuid
|
||||
|
||||
import pytest
|
||||
|
||||
from models.database_models import Shop, ShopProduct, Stock
|
||||
from models.database.shop import Shop,ShopProduct
|
||||
from models.database.stock import Stock
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
|
||||
Reference in New Issue
Block a user