Skip to content

Commit

Permalink
Added CLI tests for lms.uploadscores.
Browse files Browse the repository at this point in the history
  • Loading branch information
eriq-augustine committed Sep 5, 2024
1 parent f7ab70b commit 76871fa
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/cli/data/lms_upload_scores_base.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[email protected] 10
[email protected] 10
15 changes: 15 additions & 0 deletions tests/cli/testdata/lms/lms_upload_scores_base.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"cli": "autograder.cli.lms.upload-scores",
"arguments": [
"--assignment-lms-id", "12345",
"__DATA_DIR__(lms_upload_scores_base.txt)"
]
}
---
Upload complete.
Grades Uploaded: 0
Errors: 2
Unrecognized Users: 1
Row 1 -- [email protected]
Users without LMS IDs: 1
Row 0 -- [email protected]

0 comments on commit 76871fa

Please sign in to comment.