From a47f4d757098ca4381adeb344f8e1ac189cdabe9 Mon Sep 17 00:00:00 2001 From: Simon Chen Date: Thu, 12 Mar 2020 21:49:41 -0400 Subject: [PATCH] Fix flaky test in Catalog Integration Configuration Model --- .../commands/tests/test_create_catalog_integrations.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openedx/core/djangoapps/catalog/management/commands/tests/test_create_catalog_integrations.py b/openedx/core/djangoapps/catalog/management/commands/tests/test_create_catalog_integrations.py index a32db906b8..a7dbe0a8d7 100644 --- a/openedx/core/djangoapps/catalog/management/commands/tests/test_create_catalog_integrations.py +++ b/openedx/core/djangoapps/catalog/management/commands/tests/test_create_catalog_integrations.py @@ -5,11 +5,13 @@ Test cases for catalog_integrations command. from django.test import TestCase from django.core.management import call_command, CommandError +from openedx.core.djangolib.testing.utils import CacheIsolationTestCase + from openedx.core.djangoapps.catalog.models import CatalogIntegration from openedx.core.djangoapps.catalog.tests.mixins import CatalogIntegrationMixin -class TestCreateCatalogIntegrations(CatalogIntegrationMixin, TestCase): +class TestCreateCatalogIntegrations(CatalogIntegrationMixin, CacheIsolationTestCase): """ Test the create_catalog_integrations command """ def test_without_required(self):