ソースを参照

Fix broken coverage reporting

Oz N Tiram 8 年 前
コミット
e64e462e60
2 ファイル変更2 行追加2 行削除
  1. 1 1
      .travis.yml
  2. 1 1
      Makefile

+ 1 - 1
.travis.yml

@@ -28,7 +28,7 @@ install:
   - "pip install ."
 # command to run tests, e.g. python setup.py test
 script:
-  python setup.py develop && coverage run --source=pwman setup.py test
+  python setup.py develop && coverage run -m tests.test_pwman
 
 after_success:
   coveralls

+ 1 - 1
Makefile

@@ -51,7 +51,7 @@ test-all:
 	tox
 
 coverage-run:
-	coverage run --source pwman setup.py test
+	coverage run -m tests.test_pwman
 	coverage report -m
 	@coverage html