'Test that a new user can access the public available layers'

def test_new_user_has_access_to_old_layers(self):

    from geonode.people.models import Profile
    Profile.objects.create(username='imnew', password='pbkdf2_sha256$12000$UE4gAxckVj4Z$N                                                6NbOXIQWWblfInIoq/Ta34FdRiPhawCIZ+sOO3YQs=')
    self.api_client.client.login(username='imnew', password='thepwd')
    resp = self.api_client.get(self.list_url)
    self.assertValidJSONResponse(resp)
    self.assertEquals(len(self.deserialize(resp)['objects']), 8)
