PLAT-1676 Use pytest for bok-choy tests
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user