def testGetMissingReviewApp(self): msg = "The REVIEW_APP ('reviews') must be in INSTALLED_APPS" with self.assertRaisesMessage(ImproperlyConfigured, msg): reviews.get_review_app()
def testGetReviewApp(self): import custom_reviews self.assertEqual(reviews.get_review_app(), custom_reviews)
def testGetReviewApp(self): self.assertEqual(reviews.get_review_app(), reviews)