Merge pull request #12761 from edx/tasawer/bugfix/ecom-4713-mark-test-as-flaky

Test marked as flaky
This commit is contained in:
Ben Patterson
2016-06-15 09:17:14 -04:00
committed by GitHub

View File

@@ -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.