Lunching for groups.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

22 lines
663 B

#!/usr/bin/env python
# -*- encoding: utf-8 -*-
from base import LunchoTests
class TestLuncho(LunchoTests):
"""Test things that are in the base system, not the blueprints
(although the blueprints are required to create the URLs to be used)."""
def setUp(self):
super(TestLuncho, self).setUp()
return
def tearDown(self):
super(TestLuncho, self).tearDown()
return
def test_auth(self):
"""Try to request an authenticated request without authentication."""
rv = self.app.get('/place/') # GET /place/ is authenticated
self.assertJsonError(rv, 401, 'Request requires authentication')