PLAT-1676 Use pytest for bok-choy tests

This commit is contained in:
Jeremy Bowman
2017-08-01 15:00:58 -04:00
parent 39cb750499
commit 9e3f35db22
11 changed files with 99 additions and 64 deletions

View File

@@ -10,21 +10,32 @@ source =
omit =
lms/envs/*
cms/envs/*
cms/manage.py
cms/djangoapps/contentstore/views/dev.py
common/djangoapps/terrain/*
common/djangoapps/*/migrations/*
openedx/core/djangoapps/debug/*
openedx/core/djangoapps/*/migrations/*
*/test*
*/management/*
*/urls*
*/wsgi*
lms/debug/*
lms/djangoapps/*/features/*
lms/djangoapps/*/migrations/*
cms/djangoapps/*/features/*
cms/djangoapps/*/migrations/*
concurrency = multiprocessing
parallel = True
[report]
ignore_errors = True
exclude_lines =
pragma: no cover
raise NotImplementedError
[html]
title = Bok Choy Test Coverage Report
directory = reports/bok_choy/cover

View File

@@ -1226,6 +1226,7 @@ class DiscussionUserProfileTest(UniqueCourseTest):
self.profiled_user_id = self.setup_user(username=self.PROFILED_USERNAME)
# now create a second user who will view the profile.
self.user_id = self.setup_user()
UserProfileViewFixture([]).push()
def setup_course(self):
"""