summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2014-01-06 22:48:41 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2014-01-06 22:48:41 +0100
commit6a320cc14ae6cd2606cc10a5ba8b1c09f737bab4 (patch)
tree00de0258bd969d7bd6efefcaf9ba53c3651a8d38 /tests
parentb57c48d012e300f518841fe066c85ecde2747cdf (diff)
Fixed #21718 -- Renamed has_app to is_installed.
Diffstat (limited to 'tests')
-rw-r--r--tests/apps/tests.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/apps/tests.py b/tests/apps/tests.py
index c31174a1f1..ad5fd0d609 100644
--- a/tests/apps/tests.py
+++ b/tests/apps/tests.py
@@ -107,10 +107,10 @@ class AppsTests(TestCase):
apps.get_app_config('webdesign')
@override_settings(INSTALLED_APPS=SOME_INSTALLED_APPS)
- def test_has_app(self):
- self.assertTrue(apps.has_app('django.contrib.admin'))
- self.assertTrue(apps.has_app('django.contrib.staticfiles'))
- self.assertFalse(apps.has_app('django.contrib.webdesign'))
+ def test_is_installed(self):
+ self.assertTrue(apps.is_installed('django.contrib.admin'))
+ self.assertTrue(apps.is_installed('django.contrib.staticfiles'))
+ self.assertFalse(apps.is_installed('django.contrib.webdesign'))
@override_settings(INSTALLED_APPS=['apps.apps.RelabeledAppsConfig'])
def test_relabeling(self):