'/data/geonode:CA/metadata -> Test accessing the description of a layer'

def test_describe_data(self):

    self.assertEqual(8, get_user_model().objects.all().count())
    response = self.client.get(reverse('layer_metadata', args=('geonode:CA',)))
    self.failUnlessEqual(response.status_code, 302)
    self.client.login(username='admin', password='admin')
    response = self.client.get(reverse('layer_metadata', args=('geonode:CA',)))
    self.failUnlessEqual(response.status_code, 200)
