From ea72e0b83a592ee0774559a0474ce189337a1d63 Mon Sep 17 00:00:00 2001 From: Joshua Roesslein Date: Sat, 17 Aug 2013 12:46:43 -0700 Subject: [PATCH] Fix coverage reports to only include tweepy code. --- .coveragerc | 2 ++ .gitignore | 2 ++ run_tests.sh | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .coveragerc 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 -- 2.25.1