Parent: [40bf73] (diff)

Child: [a168ad] (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)