From 4766bffa1686e224feb2557515d9f315a70c91ae Mon Sep 17 00:00:00 2001 From: Carter Landis Date: Mon, 18 Jun 2018 18:24:12 -0500 Subject: [PATCH] version bump --- Makefile | 5 +++++ augur/metadata.py | 2 +- test/test_ghtorrentplus.py | 4 ++-- test/test_publicwww.py | 4 ++-- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index e8c7adbaf3..dc470002ac 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,7 @@ CONDAUPDATE=if ! source activate augur; then conda env create -n=augur -f=enviro CONDAACTIVATE=source activate augur; OLDVERSION="null" EDITOR?="vi" +SOURCE=* default: @ echo "Installation Commands:" @@ -24,6 +25,7 @@ default: @ echo " dev-stop Stops the backgrounded commands" @ echo " dev-restart Runs dev-stop then dev-restart" @ echo " test Run pytest unit tests" + @ echo " test-source SOURCE={source} Run pytest unit tests for the specified data source (name only, no extension)" @ echo " build Builds documentation and frontend - use before pushing" @ echo " frontend Builds frontend with Brunch" @ echo " update-deps Generates updated requirements.txt and environment.yml" @@ -127,6 +129,9 @@ build: frontend docs test: bash -c '$(CONDAACTIVATE) python -m pytest ./test' +test-source: + bash -c '$(CONDAACTIVATE) python -m pytest test/test_${SOURCE}.py' + .PHONY: unlock unlock: find . -type f -name "*.lock" -delete diff --git a/augur/metadata.py b/augur/metadata.py index 83e147c623..3966a5f156 100644 --- a/augur/metadata.py +++ b/augur/metadata.py @@ -1 +1 @@ -__version__ = '0.6.0' \ No newline at end of file +__version__ = '0.6.1' \ No newline at end of file diff --git a/test/test_ghtorrentplus.py b/test/test_ghtorrentplus.py index b196e537bc..921913d8fe 100644 --- a/test/test_ghtorrentplus.py +++ b/test/test_ghtorrentplus.py @@ -11,8 +11,8 @@ def ghtorrentplus(): # *** DIVERSITY AND INCLUSION *** # # *** GROWTH, MATURITY, AND DECLINE *** # -# def test_closed_issue_resolution_duration(ghtorrentplus): -# assert ghtorrentplus.closed_issue_resolution_duration('mopidy', 'mopidy').isin(["2012-11-10T09:51:19.000Z"]).any +def test_closed_issue_resolution_duration(ghtorrentplus): + assert ghtorrentplus.closed_issue_resolution_duration('mopidy', 'mopidy').isin(["2012-11-10T09:51:19.000Z"]).any # *** RISK *** # diff --git a/test/test_publicwww.py b/test/test_publicwww.py index 60dc70ad79..1434dd96ec 100644 --- a/test/test_publicwww.py +++ b/test/test_publicwww.py @@ -19,5 +19,5 @@ def publicwww(): # *** ACTIVITY *** # # *** EXPERIMENTAL *** # -# def test_linking_websites(publicwww): -# assert publicwww.linking_websites(owner='yihui', repo='knitr').isin(["sohu.com"]).any \ No newline at end of file +def test_linking_websites(publicwww): + assert publicwww.linking_websites(owner='yihui', repo='knitr').isin(["sohu.com"]).any \ No newline at end of file