Revision f70865a8
Autorisation par défaut
git-svn-id: https://vigilo-dev.si.c-s.fr/svn@541 b22e2e97-25c9-44ff-b637-2e5ceca36478
vigiboard/tests/functional/test_root.py | ||
---|---|---|
17 | 17 |
|
18 | 18 |
class TestRootController(TestController): |
19 | 19 |
def test_index(self): |
20 |
response = self.app.get('/') |
|
21 |
msg = 'TurboGears 2 is rapid web application development toolkit '\ |
|
22 |
'designed to make your life easier.' |
|
20 |
response = self.app.get('/', status=401) |
|
21 |
msg = 'Unauthorized' |
|
23 | 22 |
# You can look for specific strings: |
24 | 23 |
assert_true(msg in response) |
25 | 24 |
|
Also available in: Unified diff