tox.ini: Run the same command as 'make offlinetest' by default
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sat, 14 Mar 2015 20:41:15 +0000 (21:41 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sat, 14 Mar 2015 20:41:15 +0000 (21:41 +0100)
tox.ini

diff --git a/tox.ini b/tox.ini
index ed01e3386d8efcaff7bb846ac1f83c3d62763fb0..6fe7fc8f53e30f40c0682e38b022cedea94f4ec2 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -4,5 +4,8 @@ envlist = py26,py27,py33
 deps =
    nose
    coverage
-commands = nosetests --verbose {posargs:test}  # --with-coverage --cover-package=youtube_dl --cover-html
+defaultargs = test --exclude test_download.py --exclude test_age_restriction.py
+    --exclude test_subtitles.py --exclude test_write_annotations.py
+    --exclude test_youtube_lists.py
+commands = nosetests --verbose {posargs:{[testenv]defaultargs}}  # --with-coverage --cover-package=youtube_dl --cover-html
                                                # test.test_download:TestDownload.test_NowVideo