Skip to content

Commit

Permalink
Merge pull request #155 from edx/cdodge/0.8.6b
Browse files Browse the repository at this point in the history
fix review disposition
  • Loading branch information
chrisndodge committed Sep 17, 2015
2 parents 3962273 + f98ea22 commit da9b5c2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion edx_proctoring/backends/software_secure.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def on_review_callback(self, payload):
# only 'Clean' and 'Rules Violation' could as passing
status = (
ProctoredExamStudentAttemptStatus.verified
if review_status in ['Clean', 'Suspicious']
if review_status in ['Clean', 'Rules Violation']
else ProctoredExamStudentAttemptStatus.rejected
)

Expand Down
4 changes: 2 additions & 2 deletions edx_proctoring/backends/tests/test_software_secure.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,8 @@ def test_stop_proctored_exam(self):

@ddt.data(
('Clean', 'satisfied'),
('Suspicious', 'satisfied'),
('Rules Violation', 'failed'),
('Rules Violation', 'satisfied'),
('Suspicious', 'failed'),
('Not Reviewed', 'failed'),
)
@ddt.unpack
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def load_requirements(*requirements_paths):

setup(
name='edx-proctoring',
version='0.9.6',
version='0.9.6b',
description='Proctoring subsystem for Open edX',
long_description=open('README.md').read(),
author='edX',
Expand Down

0 comments on commit da9b5c2

Please sign in to comment.