Mark two tests flaky. TNL-4190 TNL-4191

This commit is contained in:
Ned Batchelder
2016-03-03 13:14:12 -05:00
parent 1102412603
commit b653e28e5c
2 changed files with 6 additions and 0 deletions

View File

@@ -4,6 +4,8 @@ from common.test.acceptance.pages.lms.oauth2_confirmation import OAuth2Confirmat
from common.test.acceptance.pages.lms.auto_auth import AutoAuthPage
from bok_choy.web_app_test import WebAppTest
from flaky import flaky
from urlparse import urlparse, parse_qsl
@@ -50,6 +52,7 @@ class OAuth2PermissionDelegationTests(WebAppTest):
query = self._qs(self.browser.current_url)
self.assertIn('access_denied', query['error'])
@flaky # TODO, fix this: TNL-4190
def test_accepting_redirects(self):
"""
If you accept the request, you're redirected to the redirect_url with

View File

@@ -4,6 +4,8 @@ Acceptance tests for the Import and Export pages
from nose.plugins.attrib import attr
from datetime import datetime
from flaky import flaky
from abc import abstractmethod
from bok_choy.promise import EmptyPromise
@@ -180,6 +182,7 @@ class ImportTestMixin(object):
"""
return []
@flaky # TODO, fix this: TNL-4191
def test_upload(self):
"""
Scenario: I want to upload a course or library for import.