diff options
author | liguomin <li.guomin3@zte.com.cn> | 2017-01-11 16:20:39 +0800 |
---|---|---|
committer | liguomin <li.guomin3@zte.com.cn> | 2017-01-12 15:15:51 +0800 |
commit | cb244708d646a1850ccf95808045794cdc955d85 (patch) | |
tree | b19c60418d6ee3c5f4e7cb9528d57ebcdcd7cc62 /api/tox.ini | |
parent | 2021d90abd0a12ee6afedc2d0ed2872d67243e97 (diff) |
ESCALATOR-40 add unittest framework
Change-Id: I0b7279eac25c1519a5c1bce29b3a2569262233a0
Signed-off-by: liguomin <li.guomin3@zte.com.cn>
Diffstat (limited to 'api/tox.ini')
-rw-r--r-- | api/tox.ini | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/api/tox.ini b/api/tox.ini index 5b5d52f..df74702 100644 --- a/api/tox.ini +++ b/api/tox.ini @@ -9,7 +9,7 @@ usedevelop = True install_command = pip install -U {opts} {packages} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt -commands = lockutils-wrapper python setup.py testr --slowest --testr-args='{posargs}' +commands = python setup.py testr --slowest --testr-args='{posargs}' whitelist_externals = bash [tox:jenkins] @@ -18,8 +18,6 @@ downloadcache = ~/cache/pip [testenv:pep8] commands = flake8 {posargs} - # Check that .po and .pot files are valid: - bash -c "find escalator -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null" [testenv:cover] setenv = VIRTUAL_ENV={envdir} |