Application fully migrated to modular approach

This commit is contained in:
2025-09-13 21:30:40 +02:00
parent c7d6b33cd5
commit b9fe91ab88
38 changed files with 509 additions and 265 deletions

View File

@@ -195,7 +195,7 @@ def test_stock(db, test_product, test_shop):
@pytest.fixture
def test_marketplace_job(db, test_shop): # Add test_shop dependency
def test_marketplace_job(db, test_shop, test_user): # Add test_shop dependency
"""Create a test marketplace import job"""
job = MarketplaceImportJob(
marketplace="amazon",
@@ -203,6 +203,7 @@ def test_marketplace_job(db, test_shop): # Add test_shop dependency
status="completed",
source_url="https://test-marketplace.example.com/import",
shop_id=test_shop.id, # Add required shop_id
user_id=test_user.id,
imported_count=5,
updated_count=3,
total_processed=8,