Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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-platform
Commits
00dadc3a
Commit
00dadc3a
authored
Sep 22, 2017
by
Alex Dusenbery
Committed by
Alex Dusenbery
Sep 22, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
EDUCATOR-1402 | Fix flaky generate_course_overview test.
parent
a58df6c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
openedx/core/djangoapps/content/course_overviews/management/commands/tests/test_generate_course_overview.py
+4
-1
No files found.
openedx/core/djangoapps/content/course_overviews/management/commands/tests/test_generate_course_overview.py
View file @
00dadc3a
...
@@ -106,7 +106,10 @@ class TestGenerateCourseOverview(ModuleStoreTestCase):
...
@@ -106,7 +106,10 @@ class TestGenerateCourseOverview(ModuleStoreTestCase):
self
.
command
.
handle
(
all_courses
=
True
,
force_update
=
True
,
routing_key
=
'my-routing-key'
,
chunk_size
=
10000
)
self
.
command
.
handle
(
all_courses
=
True
,
force_update
=
True
,
routing_key
=
'my-routing-key'
,
chunk_size
=
10000
)
called_kwargs
=
mock_async_task
.
apply_async
.
call_args_list
[
0
][
1
]
called_kwargs
=
mock_async_task
.
apply_async
.
call_args_list
[
0
][
1
]
self
.
assertEquals
(
sorted
([
unicode
(
self
.
course_key_1
),
unicode
(
self
.
course_key_2
)]),
called_kwargs
.
pop
(
'args'
))
self
.
assertEquals
(
sorted
([
unicode
(
self
.
course_key_1
),
unicode
(
self
.
course_key_2
)]),
sorted
(
called_kwargs
.
pop
(
'args'
))
)
self
.
assertEquals
({
self
.
assertEquals
({
'kwargs'
:
{
'force_update'
:
True
},
'kwargs'
:
{
'force_update'
:
True
},
'routing_key'
:
'my-routing-key'
'routing_key'
:
'my-routing-key'
...
...
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