Parent: [67df1e] (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
from nose.tools import assert_true
from allura.tests import decorators as td
from alluratest.controller import TestController
class TestRootController(TestController):
@td.with_tracker
def test_index(self):
response = self.app.get('/bugs/')
assert_true('bugs' in response)