forked from jan/debianmemberportfolio
fix unit tests
This commit is contained in:
parent
21b8d883d8
commit
64241e4028
3 changed files with 3 additions and 2 deletions
|
@ -25,5 +25,5 @@ from ddportfolioservice.tests import *
|
||||||
class TestDdportfolioController(TestController):
|
class TestDdportfolioController(TestController):
|
||||||
|
|
||||||
def test_index(self):
|
def test_index(self):
|
||||||
response = self.app.get(url_for(controller='ddportfolio'))
|
response = self.app.get(url_for(controller='ddportfolio', action='index'))
|
||||||
# Test response...
|
# Test response...
|
||||||
|
|
|
@ -3,5 +3,5 @@ from ddportfolioservice.tests import *
|
||||||
class TestShowformscriptsController(TestController):
|
class TestShowformscriptsController(TestController):
|
||||||
|
|
||||||
def test_index(self):
|
def test_index(self):
|
||||||
response = self.app.get(url_for(controller='showformscripts'))
|
response = self.app.get(url_for(controller='showformscripts', action='index'))
|
||||||
# Test response...
|
# Test response...
|
||||||
|
|
|
@ -14,6 +14,7 @@ make-dirs=1
|
||||||
|
|
||||||
[nosetests]
|
[nosetests]
|
||||||
with-pylons = test.ini
|
with-pylons = test.ini
|
||||||
|
cover-package = ddportfolioservice
|
||||||
|
|
||||||
# Babel configuration
|
# Babel configuration
|
||||||
[compile_catalog]
|
[compile_catalog]
|
||||||
|
|
Loading…
Reference in a new issue