diff --git a/docs/en_us/platform_api/source/conf.py b/docs/en_us/platform_api/source/conf.py index fbd9cb05e2..f4401836ae 100644 --- a/docs/en_us/platform_api/source/conf.py +++ b/docs/en_us/platform_api/source/conf.py @@ -8,7 +8,7 @@ import os from path import path import sys import mock - + MOCK_MODULES = ['lxml', 'requests', 'xblock', 'fields', 'xblock.fields', 'frament', 'xblock.fragment', 'webob', 'multidict', 'webob.multidict', 'core', 'xblock.core', 'runtime', 'xblock.runtime', 'sortedcontainers', 'contracts', diff --git a/openedx/core/djangoapps/user_api/accounts/tests/test_views.py b/openedx/core/djangoapps/user_api/accounts/tests/test_views.py index 57ea85d0aa..c3335c183f 100644 --- a/openedx/core/djangoapps/user_api/accounts/tests/test_views.py +++ b/openedx/core/djangoapps/user_api/accounts/tests/test_views.py @@ -20,17 +20,12 @@ class TestAccountAPI(APITestCase): def setUp(self): super(TestAccountAPI, self).setUp() - self.anonymous_client = APIClient() - self.different_user = UserFactory.create(password=TEST_PASSWORD) self.different_client = APIClient() - self.staff_user = UserFactory(is_staff=True, password=TEST_PASSWORD) self.staff_client = APIClient() - self.user = UserFactory.create(password=TEST_PASSWORD) - self.url = reverse("accounts_api", kwargs={'username': self.user.username}) def test_get_account_anonymous_user(self): diff --git a/pavelib/utils/test/suites/nose_suite.py b/pavelib/utils/test/suites/nose_suite.py index 4d5ff04559..27b2d38cdc 100644 --- a/pavelib/utils/test/suites/nose_suite.py +++ b/pavelib/utils/test/suites/nose_suite.py @@ -141,7 +141,7 @@ class SystemTestSuite(NoseTestSuite): if self.root == 'lms': default_test_id += " {system}/tests.py".format(system=self.root) - + if self.root == 'cms': default_test_id += " {system}/tests/*".format(system=self.root)