Exemple #1
0
 def test_deprecated_application(self):
     application = ApplicationFactory(deprecated=True)
     response = self.c.get("/")
     self.assertFalse(application.get_absolute_url() in response.content)
Exemple #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())
Exemple #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())