summaryrefslogtreecommitdiff
path: root/archaeological_finds/tests.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-01-04 16:20:11 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-01-11 17:30:46 +0100
commit5c110f503d9dc6ef956b1f12d2220be9cd528fb1 (patch)
tree4724ae36d28c7e7dd492afaaca9442102861f1e8 /archaeological_finds/tests.py
parent724f505a8f7e3fef417ea204cb39bc54d042cf50 (diff)
downloadIshtar-5c110f503d9dc6ef956b1f12d2220be9cd528fb1.tar.bz2
Ishtar-5c110f503d9dc6ef956b1f12d2220be9cd528fb1.zip
Sheet: only display window link when permissions are OK
Diffstat (limited to 'archaeological_finds/tests.py')
-rw-r--r--archaeological_finds/tests.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/archaeological_finds/tests.py b/archaeological_finds/tests.py
index ae03b2ba4..876bbecb2 100644
--- a/archaeological_finds/tests.py
+++ b/archaeological_finds/tests.py
@@ -815,6 +815,27 @@ class FindQATest(FindInit, TestCase):
base_desc_1 + u"\n" + extra_desc)
+class FindHistoryTest(FindInit, TestCase):
+ fixtures = FIND_FIXTURES
+ model = models.Find
+
+ def setUp(self):
+ self.create_finds(data_base={"label": u"Find 1"}, force=True)
+ self.create_finds(data_base={"label": u"Find 2"}, force=True)
+ self.username, self.password, self.user = create_superuser()
+ self.client = Client()
+ self.client.login(username=self.username, password=self.password)
+
+ def test_m2m_history_save(self):
+ pass
+
+ def test_m2m_history_display(self):
+ pass
+
+ def test_m2m_history_restore(self):
+ pass
+
+
class TreatmentTest(FindInit, TestCase):
fixtures = FIND_FIXTURES
model = models.Find