From: Joshua Roesslein Date: Sat, 17 Aug 2013 19:46:43 +0000 (-0700) Subject: Fix coverage reports to only include tweepy code. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ea72e0b83a592ee0774559a0474ce189337a1d63;p=tweepy.git Fix coverage reports to only include tweepy code. --- diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..aad5cc3 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,2 @@ +[run] +source = tweepy diff --git a/.gitignore b/.gitignore index bd2870d..e0649d7 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,5 @@ build/ dist/ tweepy.egg-info/ .env/ +.coverage +htmlcov/ diff --git a/run_tests.sh b/run_tests.sh index 50c58c3..a724fda 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -3,5 +3,5 @@ if [[ $TRAVIS_SECURE_ENV_VARS == "false" ]]; then USE_REPLAY=1 nosetests -v tests.test_api tests.test_utils else - nosetests -v --with-coverage --cover-package=tweepy tests.test_api tests.test_streaming tests.test_cursors tests.test_utils + nosetests -v --with-coverage tests.test_api tests.test_streaming tests.test_cursors tests.test_utils fi