Parent: [1fea24] (diff)

Child: [e0671b] (diff)

Download this file

test_controller.py    13 lines (8 with data), 301 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
from urllib import urlencode
from tg import config
from nose.tools import assert_true
from forgetracker.tests import TestController
class TestRootController(TestController):
def test_index(self):
response = self.app.get('/tickets/')
assert_true('ForgeTracker for' in response)