Flag test as flaky.

This commit is contained in:
Ben Patterson
2015-09-24 11:36:41 -04:00
parent decdb11710
commit a57802ebc7

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