Merge pull request #9908 from edx/benp/flaky-pythontest-sep2015

Flag test as flaky.
This commit is contained in:
Ben Patterson
2015-10-01 11:23:16 -04:00

View File

@@ -8,6 +8,7 @@ from django.conf import settings
from django.contrib.auth.models import Permission
from django.core.urlresolvers import reverse
from django.test.utils import override_settings
from flaky import flaky
import pytz
from rest_framework.utils.encoders import JSONEncoder
from xmodule.modulestore.tests.django_utils import ModuleStoreTestCase
@@ -148,6 +149,7 @@ class CourseRetrieveUpdateViewTests(CourseApiViewTestMixin, ModuleStoreTestCase)
return response, expected
@flaky # TODO This test will fail if one of the timestamps (in actual or expected) ends in .000
def test_update(self):
""" Verify the view supports updating a course. """
# Sanity check: Ensure no verification deadline is set