Exemplo n.º 1
0
    def test_showMap(self):
        '''this test is for testing the response of the map view'''

        request = self.factory.get('/map/show')
        request.user = AnonymousUser()

        responseView = MapHandler()
        response = responseView.get(request)

        self.assertEqual(response.status_code, 200)