forked from openedx/edx-platform
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: style and some test and docs improvements
- Loading branch information
1 parent
b347841
commit 57e41da
Showing
5 changed files
with
33 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -239,8 +239,8 @@ class TestSubmissionMetadataSerializer(TestCase): | |
"submissionUuid": "a", | ||
"username": "foo", | ||
"teamName": "", | ||
'email': None, | ||
'fullname': None, | ||
'email': "[email protected]", | ||
'fullname': "", | ||
"dateSubmitted": "1969-07-16 13:32:00", | ||
"dateGraded": "None", | ||
"gradedBy": "", | ||
|
@@ -251,8 +251,8 @@ class TestSubmissionMetadataSerializer(TestCase): | |
"b": { | ||
"submissionUuid": "b", | ||
"username": "", | ||
'email': None, | ||
'fullname': None, | ||
'email': "[email protected]", | ||
'fullname': "Jhon Does", | ||
"teamName": "bar", | ||
"dateSubmitted": "1969-07-20 20:17:40", | ||
"dateGraded": "None", | ||
|
@@ -264,8 +264,8 @@ class TestSubmissionMetadataSerializer(TestCase): | |
"c": { | ||
"submissionUuid": "c", | ||
"username": "baz", | ||
'email': None, | ||
'fullname': None, | ||
'email': "[email protected]", | ||
'fullname': "Jhon Does", | ||
"teamName": "", | ||
"dateSubmitted": "1969-07-21 21:35:00", | ||
"dateGraded": "1969-07-24 16:44:00", | ||
|
@@ -297,8 +297,8 @@ def test_empty_score(self): | |
submission = { | ||
"submissionUuid": "empty-score", | ||
"username": "WOPR", | ||
'email': None, | ||
'fullname': None, | ||
'email': "[email protected]", | ||
'fullname': "", | ||
"dateSubmitted": "1983-06-03 00:00:00", | ||
"dateGraded": None, | ||
"gradedBy": None, | ||
|
@@ -310,8 +310,8 @@ def test_empty_score(self): | |
expected_output = { | ||
"submissionUUID": "empty-score", | ||
"username": "WOPR", | ||
'email': None, | ||
'fullname': None, | ||
'email': "[email protected]", | ||
'fullname': "", | ||
"teamName": None, | ||
"dateSubmitted": "1983-06-03 00:00:00", | ||
"dateGraded": None, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters