aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--tests/test_providers.py13
2 files changed, 3 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index d5437ef..eb3ce93 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@ install: ## Install for the current user using the default python command
test: venv ## Run unit tests
- source $(VENV_DIR)/bin/activate && green -f -vv -a ./tests
+ source $(VENV_DIR)/bin/activate && green -vv -s 1 -a ./tests
clean: ## Clean build dist and egg directories left after install
diff --git a/tests/test_providers.py b/tests/test_providers.py
index 422fe0f..9d1882d 100644
--- a/tests/test_providers.py
+++ b/tests/test_providers.py
@@ -185,17 +185,8 @@ class TestProviders(unittest.TestCase):
def test_citeseerx_2(self):
prov = CiteSeerX(upload=False, verbose=VERBOSE)
- url = "http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.101.6521&rep=rep1&type=pdf"
- exp = "Everingham_et_al_-_The_2005_Pascal_Visual_Object_Classes_Challenge_2006.pdf"
- filename = prov.run(url)
- self.assertEqual(exp, os.path.basename(filename))
-
- def test_citeseerx_3(self):
- prov = CiteSeerX(upload=False, verbose=VERBOSE)
- url = (
- "http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.109.4049"
- )
- exp = "Brin_Page_-_The_Anatomy_of_a_Large-Scale_Hypertextual_Web_Search_Engine_1998.pdf"
+ url = "http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.123.7607&rep=rep1&type=pdf"
+ exp = "Kirkpatrick_Gelatt_Vecchi_-_Optimization_by_Simulated_Annealing_1983.pdf"
filename = prov.run(url)
self.assertEqual(exp, os.path.basename(filename))