diff options
Diffstat (limited to 'ishtar_common/tests.py')
| -rw-r--r-- | ishtar_common/tests.py | 13 | 
1 files changed, 13 insertions, 0 deletions
| diff --git a/ishtar_common/tests.py b/ishtar_common/tests.py index 6db425cab..77247d6a0 100644 --- a/ishtar_common/tests.py +++ b/ishtar_common/tests.py @@ -440,3 +440,16 @@ class IshtarSiteProfileTest(TestCase):          p.raw_name = ''          p.save()          self.assertEqual(p.raw_name, u"tegada plouf") + + +class IshtarBasicTest(TestCase): +    def setUp(self): +        password = 'mypassword' +        my_admin = User.objects.create_superuser( +            'myuser', 'myemail@test.com', password) +        self.client = Client() +        self.client.login(username=my_admin.username, password=password) + +    def test_status(self): +        response = self.client.get(reverse('status')) +        self.assertEqual(response.status_code, 200) | 
