~rvb/maas/bug-1234853-1.3

« back to all changes in this revision

Viewing changes to src/maasserver/tests/test_api.py

  • Committer: Gavin Panella
  • Date: 2012-03-15 13:58:32 UTC
  • mto: This revision was merged to the branch mainline in revision 291.
  • Revision ID: gavin.panella@canonical.com-20120315135832-8i2rkbvp6gwdhkzt
Change MaaS to MAAS everywhere.

Show diffs side-by-side

added added

removed removed

Lines of Context:
930
930
        self.assertEqual("File not found", response.content)
931
931
 
932
932
 
933
 
class MaaSAPIAnonTest(APIv10TestMixin, TestCase):
934
 
    # The MaaS' handler is not accessible to anon users.
 
933
class MAASAPIAnonTest(APIv10TestMixin, TestCase):
 
934
    # The MAAS' handler is not accessible to anon users.
935
935
 
936
936
    def test_anon_get_config_forbidden(self):
937
937
        response = self.client.get(
948
948
        self.assertEqual(httplib.FORBIDDEN, response.status_code)
949
949
 
950
950
 
951
 
class MaaSAPITest(APITestCase):
 
951
class MAASAPITest(APITestCase):
952
952
 
953
953
    def test_simple_user_get_config_forbidden(self):
954
954
        response = self.client.get(