Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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-platform
Commits
c9add70a
Commit
c9add70a
authored
Apr 03, 2013
by
Jay Zoldak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some pylint errors in the lettuce terrain module
parent
7c987587
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
common/djangoapps/terrain/steps.py
+10
-6
No files found.
common/djangoapps/terrain/steps.py
View file @
c9add70a
#pylint: disable=C0111
#pylint: disable=W0621
# Disable the "wildcard import" warning so we can bring in all methods from
# course helpers and ui helpers
#pylint: disable=W0401
# Disable the "Unused import %s from wildcard import" warning
#pylint: disable=W0614
# Disable the "unused argument" warning because lettuce uses "step"
#pylint: disable=W0613
from
lettuce
import
world
,
step
from
.course_helpers
import
*
from
.ui_helpers
import
*
from
lettuce.django
import
django_url
from
nose.tools
import
assert_equals
,
assert_in
import
time
from
logging
import
getLogger
logger
=
getLogger
(
__name__
)
...
...
@@ -125,11 +134,6 @@ def i_am_logged_in(step):
world
.
browser
.
visit
(
django_url
(
'/'
))
@step
(
'I am not logged in$'
)
def
i_am_not_logged_in
(
step
):
world
.
browser
.
cookies
.
delete
()
@step
(
u'I am an edX user$'
)
def
i_am_an_edx_user
(
step
):
world
.
create_user
(
'robot'
)
...
...
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