'Check that public projects show up in: builds, downloads, detail,
homepage'

def test_public_repo(self):

    self._create_kong('public', 'public')
    self.client.login(username='eric', password='test')
    r = self.client.get('/projects/django-kong/')
    self.assertEqual(r.status_code, 200)
    r = self.client.get('/projects/django-kong/builds/')
    self.assertEqual(r.status_code, 200)
    r = self.client.get('/projects/django-kong/downloads/')
    self.assertEqual(r.status_code, 200)
    self.client.login(username='tester', password='test')
    r = self.client.get('/projects/django-kong/')
    self.assertEqual(r.status_code, 200)
    r = self.client.get('/projects/django-kong/builds/')
    self.assertEqual(r.status_code, 200)
    r = self.client.get('/projects/django-kong/downloads/')
    self.assertEqual(r.status_code, 200)
