'Test that the promo doesn\'t show when the project has it disabled'

def test_project_disabling(self):

    self.pip.allow_promos = False
    self.pip.save()
    r = self.client.get('/api/v2/footer_html/?project=pip&version=latest&page=index')
    resp = json.loads(r.content)
    self.assertEqual(resp['promo'], False)
