Project

General

Profile

Revision f70865a8

IDf70865a87dcc5bc2390a34603c2e57ca2ef04f45
Parent a2d3e48e
Child c051900b

Added by Aurelien BOMPARD over 14 years ago

Autorisation par défaut

git-svn-id: https://vigilo-dev.si.c-s.fr/svn@541 b22e2e97-25c9-44ff-b637-2e5ceca36478

View differences:

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