Ejemplo n.º 1
0
 def test_deprecated_application(self):
     application = ApplicationFactory(deprecated=True)
     response = self.c.get("/")
     self.assertFalse(application.get_absolute_url() in response.content)
Ejemplo n.º 2
0
 def test_deprecated_application(self):
     application = ApplicationFactory(deprecated=True)
     response = self.c.get(reverse('index-view'))
     self.assertNotContains(response, application.get_absolute_url())
Ejemplo n.º 3
0
 def test_deprecated_application(self):
     application = ApplicationFactory(deprecated=True)
     response = self.c.get(reverse('index-view'))
     self.assertNotContains(response, application.get_absolute_url())