Merge pull request #12761 from edx/tasawer/bugfix/ecom-4713-mark-test-as-flaky
Test marked as flaky
This commit is contained in:
@@ -7,6 +7,7 @@ from django.core.files.storage import default_storage
|
||||
from django.db.utils import IntegrityError
|
||||
from django.test import TestCase
|
||||
from django.test.utils import override_settings
|
||||
from flaky import flaky
|
||||
from mock import patch, Mock
|
||||
from nose.plugins.attrib import attr
|
||||
from xmodule.modulestore.tests.django_utils import ModuleStoreTestCase
|
||||
@@ -215,6 +216,7 @@ class BadgeClassTest(ModuleStoreTestCase):
|
||||
self.assertTrue(mock_award.called)
|
||||
mock_award.assert_called_with(badge_class, user, evidence_url='http://example.com/evidence')
|
||||
|
||||
@flaky # ECOM-4713
|
||||
def test_runs_validator(self):
|
||||
"""
|
||||
Verify that the image validator is triggered when cleaning the model.
|
||||
|
||||
Reference in New Issue
Block a user