From 64241e40282277dfe06d4f5d134b2588840d8b66 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Sun, 18 Apr 2010 15:08:49 +0200 Subject: [PATCH] fix unit tests --- ddportfolioservice/tests/functional/test_ddportfolio.py | 2 +- ddportfolioservice/tests/functional/test_showformscripts.py | 2 +- setup.cfg | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ddportfolioservice/tests/functional/test_ddportfolio.py b/ddportfolioservice/tests/functional/test_ddportfolio.py index 7c422f4..7693f2f 100644 --- a/ddportfolioservice/tests/functional/test_ddportfolio.py +++ b/ddportfolioservice/tests/functional/test_ddportfolio.py @@ -25,5 +25,5 @@ from ddportfolioservice.tests import * class TestDdportfolioController(TestController): def test_index(self): - response = self.app.get(url_for(controller='ddportfolio')) + response = self.app.get(url_for(controller='ddportfolio', action='index')) # Test response... diff --git a/ddportfolioservice/tests/functional/test_showformscripts.py b/ddportfolioservice/tests/functional/test_showformscripts.py index 43ea16b..4ce6279 100644 --- a/ddportfolioservice/tests/functional/test_showformscripts.py +++ b/ddportfolioservice/tests/functional/test_showformscripts.py @@ -3,5 +3,5 @@ from ddportfolioservice.tests import * class TestShowformscriptsController(TestController): def test_index(self): - response = self.app.get(url_for(controller='showformscripts')) + response = self.app.get(url_for(controller='showformscripts', action='index')) # Test response... diff --git a/setup.cfg b/setup.cfg index 390771c..8b8db3d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -14,6 +14,7 @@ make-dirs=1 [nosetests] with-pylons = test.ini +cover-package = ddportfolioservice # Babel configuration [compile_catalog]