Commit 9281c601 by Tasawer

test marked as flaky

parent 2336c584
...@@ -7,6 +7,7 @@ from django.core.files.storage import default_storage ...@@ -7,6 +7,7 @@ from django.core.files.storage import default_storage
from django.db.utils import IntegrityError from django.db.utils import IntegrityError
from django.test import TestCase from django.test import TestCase
from django.test.utils import override_settings from django.test.utils import override_settings
from flaky import flaky
from mock import patch, Mock from mock import patch, Mock
from nose.plugins.attrib import attr from nose.plugins.attrib import attr
from xmodule.modulestore.tests.django_utils import ModuleStoreTestCase from xmodule.modulestore.tests.django_utils import ModuleStoreTestCase
...@@ -215,6 +216,7 @@ class BadgeClassTest(ModuleStoreTestCase): ...@@ -215,6 +216,7 @@ class BadgeClassTest(ModuleStoreTestCase):
self.assertTrue(mock_award.called) self.assertTrue(mock_award.called)
mock_award.assert_called_with(badge_class, user, evidence_url='http://example.com/evidence') mock_award.assert_called_with(badge_class, user, evidence_url='http://example.com/evidence')
@flaky # ECOM-4713
def test_runs_validator(self): def test_runs_validator(self):
""" """
Verify that the image validator is triggered when cleaning the model. Verify that the image validator is triggered when cleaning the model.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment