Changeset - 8c1258f69892
[Not reviewed]
default
0 2 0
Mads Kiilerich - 11 years ago 2015-04-24 01:39:05
madski@unity3d.com
tests: Move pytest config (norecursedirs) from tox.ini to setup.cfg

Avoid (conceptual) dependency on the tox meta test runner configuration.
2 files changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
setup.cfg
Show inline comments
 
[egg_info]
 
tag_build = 
 
tag_svn_revision = 0
 
tag_date = 0
 

	
 
[nosetests]
 
verbose = True
 
verbosity = 2
 
with-pylons = test.ini
 
detailed-errors = 1
 
nologcapture = 1
 

	
 
[pytest]
 
norecursedirs = kallithea/tests/scripts .tox .eggs
 

	
 
[compile_catalog]
 
domain = kallithea
 
directory = kallithea/i18n
 
statistics = true
 

	
 
[extract_messages]
 
add_comments = TRANSLATORS:
 
output_file = kallithea/i18n/kallithea.pot
 
msgid-bugs-address = translations@kallithea-scm.org
 
copyright-holder = Various authors, licensing as GPLv3
 
no-wrap = true
 

	
tox.ini
Show inline comments
 
[pytest]
 
norecursedirs = kallithea/tests/scripts .tox .eggs
 

	
 
[tox]
 
envlist = py{26,27}-{pytest,nose}
 

	
 
[testenv]
 
setenv =
 
    PYTHONHASHSEED = 0
 
deps =
 
    nose: nose
 
    pytest: pytest
 
commands =
 
    nose: nosetests {posargs}
 
    pytest: py.test {posargs}
0 comments (0 inline, 0 general)