Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4ec135f9
authored
Mar 05, 2015
by
Csók Tamás
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated fab selenium command
parent
0922e15c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
circle/fabfile.py
+6
-4
No files found.
circle/fabfile.py
View file @
4ec135f9
...
...
@@ -111,12 +111,14 @@ def test(test=""):
@roles
(
'portal'
)
def
selenium
(
test
=
""
):
"Run
portal
selenium tests"
"Run selenium tests"
with
_workon
(
"circle"
),
cd
(
"~/circle/circle"
):
# TODO Check if the user have any X so we don't have force xvfb
if
test
==
"f"
:
test
=
"--failed"
else
:
test
+=
" --with-id"
run
(
"xvfb-run ./manage.py test "
"--settings=circle.settings.selenium_test
%(test)
s"
%
{
'test'
:
test
})
"--settings=circle.settings.selenium_test
%
s"
%
test
)
def
pull
(
dir
=
"~/circle/circle"
):
...
...
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