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
e2893261
Unverified
Commit
e2893261
authored
5 years ago
by
Ayub
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #21991 from edx/BOM-905
BOM-905 test_graders.py tests fixed
parents
732dfce1
3a760435
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/lib/xmodule/xmodule/tests/test_graders.py
+3
-1
3 additions, 1 deletion
common/lib/xmodule/xmodule/tests/test_graders.py
with
3 additions
and
1 deletion
common/lib/xmodule/xmodule/tests/test_graders.py
+
3
−
1
View file @
e2893261
...
...
@@ -9,6 +9,7 @@ from datetime import datetime, timedelta
import
ddt
from
pytz
import
UTC
import
six
from
six
import
text_type
from
lms.djangoapps.grades.scores
import
compute_percent
...
...
@@ -316,7 +317,8 @@ class GraderTest(unittest.TestCase):
(
# no drop_count
{
'
type
'
:
"
Homework
"
,
'
min_count
'
:
0
},
u
"
__init__() takes at least 4 arguments (3 given)
"
# pylint: disable=line-too-long
u
"
__init__() takes at least 4 arguments (3 given)
"
if
six
.
PY2
else
u
"
__init__() missing 1 required positional argument:
'
drop_count
'"
),
)
@ddt.unpack
...
...
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