API and database models refactoring
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
# tests/integration/api/v1/test_pagination.py
|
||||
import pytest
|
||||
|
||||
from models.database_models import Product, Shop
|
||||
from models.database.product import Product
|
||||
from models.database.shop import Shop
|
||||
|
||||
|
||||
@pytest.mark.integration
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# tests/test_stock_endpoints.py
|
||||
import pytest
|
||||
|
||||
from models.database_models import Stock
|
||||
from models.database.stock import Stock
|
||||
|
||||
|
||||
class TestStockAPI:
|
||||
|
||||
Reference in New Issue
Block a user