Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-video-worker
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-video-worker
Commits
fdfbb900
Commit
fdfbb900
authored
Nov 07, 2017
by
Gregory Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update
parent
62d6530f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
video_worker/tests/test_video_worker.py
+1
-2
No files found.
video_worker/tests/test_video_worker.py
View file @
fdfbb900
...
@@ -140,7 +140,6 @@ class VideoWorkerTest(unittest.TestCase):
...
@@ -140,7 +140,6 @@ class VideoWorkerTest(unittest.TestCase):
is_valid_engine_intake
=
mock_data
.
get
(
'is_valid_engine_intake'
,
True
)
is_valid_engine_intake
=
mock_data
.
get
(
'is_valid_engine_intake'
,
True
)
error_message
=
mock_data
.
get
(
'error_message'
,
''
)
error_message
=
mock_data
.
get
(
'error_message'
,
''
)
encoded_profile
=
mock_data
.
get
(
'encode_profile'
,
None
)
encoded_profile
=
mock_data
.
get
(
'encode_profile'
,
None
)
path_exists
=
mock_data
.
get
(
'path_exists'
,
True
)
self
.
VW
.
instance_yaml
=
TEST_INSTANCE_YAML
self
.
VW
.
instance_yaml
=
TEST_INSTANCE_YAML
self
.
VW
.
settings
=
WS
.
settings_dict
self
.
VW
.
settings
=
WS
.
settings_dict
...
@@ -191,7 +190,7 @@ class VideoWorkerTest(unittest.TestCase):
...
@@ -191,7 +190,7 @@ class VideoWorkerTest(unittest.TestCase):
# Call VideoWorker run method.
# Call VideoWorker run method.
self
.
VW
.
run
()
self
.
VW
.
run
()
if
not
path_exists
:
if
not
mock_exists
.
side_effect
:
self
.
assertTrue
(
mock_mkdir
.
called
)
self
.
assertTrue
(
mock_mkdir
.
called
)
if
error_message
:
if
error_message
:
...
...
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