tox.ini: Run the same command as 'make offlinetest' by default
[youtube-dl] / tox.ini
diff --git a/tox.ini b/tox.ini
index 53b461fdbb5de0b0e12d574e76d9e1215c4d83ee..6fe7fc8f53e30f40c0682e38b022cedea94f4ec2 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,11 @@
 [tox]
 envlist = py26,py27,py33
 [testenv]
-deps = nose
-commands = nosetests --with-coverage --cover-package=youtube_dl --cover-html --verbose test
+deps =
+   nose
+   coverage
+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