summaryrefslogtreecommitdiff
path: root/ishtar_common/tests.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-02-18 01:05:08 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-02-18 01:05:08 +0100
commit50b565e74631a684b2b389cac55982db86d8d5ba (patch)
treea7256183a32a204ac4e90e2503483c5ffc1f33db /ishtar_common/tests.py
parent5e47cbfcbeb090762547042d809016074bf1c679 (diff)
downloadIshtar-50b565e74631a684b2b389cac55982db86d8d5ba.tar.bz2
Ishtar-50b565e74631a684b2b389cac55982db86d8d5ba.zip
New management of modules
Diffstat (limited to 'ishtar_common/tests.py')
-rw-r--r--ishtar_common/tests.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ishtar_common/tests.py b/ishtar_common/tests.py
index 4e800b0d5..e2c9b233f 100644
--- a/ishtar_common/tests.py
+++ b/ishtar_common/tests.py
@@ -182,3 +182,9 @@ class IshtarSiteProfileTest(TestCase):
profile2.warehouse = True
profile2 = profile2.save()
self.assertTrue(profile2.context_record and profile2.find)
+
+ def testDefaultProfile(self):
+ self.assertFalse(models.IshtarSiteProfile.objects.count())
+ profile = models.get_current_profile()
+ self.assertTrue(profile)
+ self.assertTrue(models.IshtarSiteProfile.objects.count())