Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
3ec19640
Unverified
Commit
3ec19640
authored
5 years ago
by
Feanil Patel
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #21582 from edx/feanil/fix_more_test_collection_issues
Feanil/fix more test collection issues
parents
01650084
6c5780c8
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
openedx/core/djangoapps/user_api/management/tests/test_populate_retirement_states.py
+1
-1
1 addition, 1 deletion
...r_api/management/tests/test_populate_retirement_states.py
pavelib/paver_tests/test_paver_bok_choy_cmds.py
+6
-1
6 additions, 1 deletion
pavelib/paver_tests/test_paver_bok_choy_cmds.py
with
7 additions
and
2 deletions
openedx/core/djangoapps/user_api/management/tests/test_populate_retirement_states.py
+
1
−
1
View file @
3ec19640
...
...
@@ -87,7 +87,7 @@ def test_out_of_order_start_state(settings):
del
settings
.
RETIREMENT_STATES
[
0
]
settings
.
RETIREMENT_STATES
.
insert
(
4
,
'
PENDING
'
)
with
pytest
.
raises
(
CommandError
,
match
=
u
r
'
{} must be the first state
'
.
format
(
START_STATE
)):
with
pytest
.
raises
(
CommandError
,
match
=
u
'
{} must be the first state
'
.
format
(
START_STATE
)):
call_command
(
'
populate_retirement_states
'
)
...
...
This diff is collapsed.
Click to expand it.
pavelib/paver_tests/test_paver_bok_choy_cmds.py
+
6
−
1
View file @
3ec19640
...
...
@@ -6,7 +6,12 @@ from __future__ import absolute_import
import
os
import
unittest
from
test.test_support
import
EnvironmentVarGuard
import
six
if
six
.
PY2
:
from
test.test_support
import
EnvironmentVarGuard
else
:
from
test.support
import
EnvironmentVarGuard
# pylint: disable=import-error,no-name-in-module
from
pavelib.utils.test.suites
import
BokChoyTestSuite
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment