Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
blog
Commits
4cc7638ff93c
Commit
3e2acc8e
authored
Nov 14, 2018
by
Denis Laxalde
Browse files
Configure pytest to look for tests in "test" directory
Thus avoiding default value of posargs in tox's test environment.
parent
90ff750849f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
tox.ini
View file @
4cc7638f
...
...
@@ -6,7 +6,7 @@ deps =
pytest
https://hg.logilab.org/master/cubes/sioc/archive/default.tar.bz2
commands
=
{envpython}
-m
pytest
{posargs
:test
}
{envpython}
-m
pytest
{posargs}
[testenv:flake8]
skip_install
=
true
...
...
@@ -28,3 +28,4 @@ exclude = cubicweb_blog/__pkginfo__.py,cubicweb_blog/migration/*,test/data/*,.to
[pytest]
python_files
=
*test_*.py
testpaths
=
test
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