diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-12 12:41:02 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-28 12:15:24 +0100 |
commit | 8ec062dab58750d8eb7fc0217d7adcf71d222747 (patch) | |
tree | b307437533bffbba02878683827b38c18e595e12 /archaeological_warehouse | |
parent | db39611f6643cff4cfa690da97c64144fb697b9f (diff) | |
download | Ishtar-8ec062dab58750d8eb7fc0217d7adcf71d222747.tar.bz2 Ishtar-8ec062dab58750d8eb7fc0217d7adcf71d222747.zip |
Fix typo
Diffstat (limited to 'archaeological_warehouse')
-rw-r--r-- | archaeological_warehouse/models.py | 4 | ||||
-rw-r--r-- | archaeological_warehouse/tests.py | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/archaeological_warehouse/models.py b/archaeological_warehouse/models.py index 61b2e3f6d..06c7cdcd8 100644 --- a/archaeological_warehouse/models.py +++ b/archaeological_warehouse/models.py @@ -862,7 +862,7 @@ class Container(DocumentItem, Merge, LightHistorizedItem, responsibility = models.ForeignKey( Warehouse, verbose_name=_("Responsibility"), related_name='responsibilities', blank=True, null=True, - help_text=_("Warehouse that own the container") + help_text=_("Warehouse that owns the container") ) container_type = models.ForeignKey(ContainerType, verbose_name=_("Container type"), @@ -1189,7 +1189,7 @@ class Container(DocumentItem, Merge, LightHistorizedItem, current_container_type = None error_msg = str( - _("The division number {} have not been set for the warehouse {}.") + _("The division number {} has not been set for the warehouse {}.") ).format(place + 1, self.location) previous_container_types = [] for idx, division_link in enumerate(q.all()): diff --git a/archaeological_warehouse/tests.py b/archaeological_warehouse/tests.py index 873941d8e..f6d877ec4 100644 --- a/archaeological_warehouse/tests.py +++ b/archaeological_warehouse/tests.py @@ -554,8 +554,6 @@ class ContainerTest(FindInit, TestCase): c = json.loads(response.content.decode()) self.assertEqual(len(c), 1) - - def test_form_creation(self): data = { 'reference': 'hop-ref', |