Implement content synchronization from WordPress and Shopify in ContentSyncService

- Added methods to sync content from WordPress and Shopify to IGNY8, including error handling and logging.
- Introduced internal methods for fetching posts from WordPress and products from Shopify.
- Updated IntegrationService to include a method for retrieving active integrations for a site.
- Enhanced test cases to cover new functionality and ensure proper setup of test data, including industry and sector associations.
This commit is contained in:
IGNY8 VPS (Salman)
2025-11-18 02:07:22 +00:00
parent 873f97ea3f
commit 51c3986e01
12 changed files with 583 additions and 64 deletions

View File

@@ -19,6 +19,9 @@ class BulkGenerationTestCase(SiteBuilderTestBase):
def setUp(self):
"""Set up test data"""
super().setUp()
# Delete the base page_blueprint so we control exactly which pages exist
self.page_blueprint.delete()
self.page1 = PageBlueprint.objects.create(
account=self.account,
site=self.site,