@@ -0,0 +1,662 @@
+from changes.testutils import APITestCase%0A%0A%0Aclass AuthIndexTest(APITestCase):%0A    path = '/api/0/auth/'%0A%0A    def test_anonymous(self):%0A        resp = self.client.get(self.path)%0A        assert resp.status_code == 200%0A        data = self.unserialize(resp)%0A        assert data%5B'authenticated'%5D is False%0A%0A    def test_authenticated(self):%0A        self.login_default()%0A%0A        resp = self.client.get(self.path)%0A        assert resp.status_code == 200%0A        data = self.unserialize(resp)%0A        assert data%5B'authenticated'%5D is True%0A        assert data%5B'user'%5D == %7B%0A            'id': self.default_user.id.hex,%0A            'email': self.default_user.email,%0A        %7D%0A

Add tests for auth index