diff options
| 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 | 
| commit | a87eb643c09fb8af86c0b7198cccd097eef1aac6 (patch) | |
| tree | 4724ae36d28c7e7dd492afaaca9442102861f1e8 /archaeological_finds/tests.py | |
| parent | 4dd953b8327d684107b6485cef2fb69cd7663603 (diff) | |
| download | Ishtar-a87eb643c09fb8af86c0b7198cccd097eef1aac6.tar.bz2 Ishtar-a87eb643c09fb8af86c0b7198cccd097eef1aac6.zip | |
Sheet: only display window link when permissions are OK
Diffstat (limited to 'archaeological_finds/tests.py')
| -rw-r--r-- | archaeological_finds/tests.py | 21 | 
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 | 
