Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
grady
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Jan Maximilian Michal
grady
Merge requests
!39
Modifications that syncronize several previously merged branches
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Modifications that syncronize several previously merged branches
serializer-merge-fixes
into
master
Overview
0
Commits
1
Pipelines
2
Changes
5
Merged
Jan Maximilian Michal
requested to merge
serializer-merge-fixes
into
master
7 years ago
Overview
0
Commits
1
Pipelines
2
Changes
2
Expand
Fixed errors that arose from merging errors
Added feedback to mock data so student page works
Student serializer now only send necessary submission info on initial load
0
0
Merge request reports
Compare
version 1
version 1
2dbbba2e
7 years ago
master (base)
and
latest version
latest version
cc88f2c7
1 commit,
7 years ago
version 1
2dbbba2e
1 commit,
7 years ago
Show latest version
2 files
+
4
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
core/tests/test_student_page.py
+
3
−
8
Options
@@ -190,21 +190,16 @@ class StudentSelfSubmissionsTests(APITestCase):
self
.
submission_list_first_entry
[
'
type
'
][
'
solution
'
],
self
.
student_info
.
submissions
.
first
().
type
.
solution
)
def
test_submission_data_contains_
text
(
self
):
def
test_submission_data_contains_
final_status
(
self
):
self
.
assertEqual
(
self
.
submission_list_first_entry
[
'
text
'
],
self
.
student_info
.
submissions
.
first
().
text
)
self
.
submission_list_first_entry
[
'
feedback
'
][
'
isFinal
'
],
self
.
student_info
.
submissions
.
first
().
feedback
.
is_final
)
def
test_submission_data_contains_feedback_score
(
self
):
self
.
assertEqual
(
self
.
submission_list_first_entry
[
'
feedback
'
][
'
score
'
],
self
.
student_info
.
submissions
.
first
().
feedback
.
score
)
def
test_submission_data_contains_feedback_text
(
self
):
self
.
assertEqual
(
self
.
submission_list_first_entry
[
'
feedback
'
][
'
text
'
],
self
.
student_info
.
submissions
.
first
().
feedback
.
text
)
# We don't want a matriculation number here
def
test_matriculation_number_is_not_send
(
self
):
self
.
assertNotIn
(
'
matrikel_no
'
,
self
.
submission_list_first_entry
)
Loading