Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-ora2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-ora2
Commits
2313fdbb
Commit
2313fdbb
authored
Mar 20, 2014
by
Will Daly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stop waiting for peers to assess before logging in as a new user
parent
a43a507f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
performance/locustfile.py
+0
-14
No files found.
performance/locustfile.py
View file @
2313fdbb
...
...
@@ -101,16 +101,6 @@ class OpenAssessmentPage(object):
resp
=
self
.
step_resp_dict
.
get
(
'self'
)
return
resp
is
not
None
and
resp
.
content
is
not
None
and
'class="assessment__fields"'
in
resp
.
content
.
lower
()
def
has_grade
(
self
):
"""
Check whether the user has a grade.
Returns:
bool
"""
resp
=
self
.
step_resp_dict
.
get
(
'grade'
)
return
resp
is
not
None
and
resp
.
content
is
not
None
and
"has--grade"
in
resp
.
content
.
lower
()
def
submit_response
(
self
):
"""
Submit a response.
...
...
@@ -221,10 +211,6 @@ class OpenAssessmentTasks(TaskSet):
if
self
.
page
.
can_self_assess
():
self
.
page
.
self_assess
()
# At the end of the workflow, log in as a new user
# so we can continue to make new submissions
if
self
.
page
.
has_grade
():
self
.
page
.
log_in
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment