def test_tenant_apps_does_not_sync_shared_apps(self):
        tenant = get_tenant_model()(schema_name='test')
        tenant.save()

        domain = get_tenant_domain_model()(tenant=tenant, domain='arbitrary.test.com')
        domain.save()

        tenant_tables = self.get_tables_list_in_schema(tenant.schema_name)
        self.assertEqual(1+self.MIGRATION_TABLE_SIZE, len(tenant_tables))
        self.assertIn('django_session', tenant_tables)

        connection.set_schema_to_public()
        domain.delete()
        tenant.delete(force_drop=True)
Tests that if an app is in TENANT_APPS, it does not get synced to
dataset/ETHPy150Open tomturner/django-tenants/django_tenants/tests/test_tenants.py/TenantSyncTest.test_tenant_apps_does_not_sync_shared_apps