Parent: [610880] (diff)

Child: [1fea24] (diff)

Download this file

test_controller.py    13 lines (8 with data), 308 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('Welcome to ForgeTracker' in response)