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
bd068771
Commit
bd068771
authored
Sep 18, 2013
by
Jay Zoldak
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1046 from edx/zoldak/quiet-fast-acceptance
Zoldak/quiet fast acceptance
parents
231c71c3
be51ee2c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
common/djangoapps/terrain/browser.py
+1
-1
common/djangoapps/terrain/steps.py
+2
-2
rakelib/tests.rake
+2
-2
No files found.
common/djangoapps/terrain/browser.py
View file @
bd068771
...
...
@@ -151,7 +151,7 @@ def reset_data(scenario):
envs/acceptance.py file: mitx_all/db/test_mitx.db
"""
LOGGER
.
debug
(
"Flushing the test database..."
)
call_command
(
'flush'
,
interactive
=
False
)
call_command
(
'flush'
,
interactive
=
False
,
verbosity
=
0
)
world
.
absorb
({},
'scenario_dict'
)
...
...
common/djangoapps/terrain/steps.py
View file @
bd068771
...
...
@@ -153,8 +153,8 @@ def i_am_logged_in(step):
world
.
create_user
(
'robot'
,
'test'
)
world
.
log_in
(
username
=
'robot'
,
password
=
'test'
)
world
.
browser
.
visit
(
django_url
(
'/'
))
# You should not see the login link
assert
world
.
is_css_
not_present
(
'a#login'
)
dash_css
=
'section.container.dashboard'
assert
world
.
is_css_
present
(
dash_css
)
@step
(
u'I am an edX user$'
)
...
...
rakelib/tests.rake
View file @
bd068771
...
...
@@ -61,7 +61,7 @@ def setup_acceptance_db(system, fasttest=false)
end
def
run_acceptance_tests
(
system
,
report_dir
,
harvest_args
)
test_sh
(
django_admin
(
system
,
'acceptance'
,
'harvest'
,
'--debug-mode'
,
'--tag -skip'
,
harvest_args
))
test_sh
(
django_admin
(
system
,
'acceptance'
,
'harvest'
,
'--debug-mode'
,
'--
verbosity 2'
,
'--
tag -skip'
,
harvest_args
))
end
# Run documentation tests
...
...
@@ -187,7 +187,7 @@ task :coverage => :report_dirs do
end
end
# Find all coverage XML files (both Python and JavaScript)
xml_reports
=
FileList
[
File
.
join
(
REPORT_DIR
,
'**/coverage.xml'
)]
...
...
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