Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
allgo
allgo
Commits
1676238d
Commit
1676238d
authored
Oct 31, 2017
by
BAIRE Anthony
Browse files
fix typo
parent
faed4230
Changes
1
Hide whitespace changes
Inline
Side-by-side
controller/test_controller.py
View file @
1676238d
...
...
@@ -348,7 +348,7 @@ class ControllerTestCase(unittest.TestCase):
def
check_job_transition
(
self
,
job
,
prev_state
,
next_state
,
*
,
ignore_state
=
_UNSET
,
timeout
=
10
):
def
get_state
(
job
):
self
.
session
.
refresh
(
job
)
return
V
(
job
.
state
)
return
J
(
job
.
state
)
self
.
assertEqual
(
get_state
(
job
),
prev_state
)
yield
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment