changeset 1671c4334393 in trytond:default
details: https://hg.tryton.org/trytond?cmd=changeset&node=1671c4334393
description:
        Fix typo in test_depend_exists message

        issue10305
        review342151002
diffstat:

 trytond/tests/test_tryton.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 0250b2ab9ba3 -r 1671c4334393 trytond/tests/test_tryton.py
--- a/trytond/tests/test_tryton.py      Thu Apr 22 23:44:39 2021 +0200
+++ b/trytond/tests/test_tryton.py      Fri Apr 23 20:14:57 2021 +0200
@@ -398,7 +398,7 @@
             if depend.startswith('_parent_'):
                 depend = depend[len('_parent_'):]
             self.assertIsInstance(getattr(model, depend, None), fields.Field,
-                msg='Unknonw "%s" in %s' % (depend, qualname))
+                msg='Unknown "%s" in %s' % (depend, qualname))
             if nested:
                 target = getattr(model, depend).get_target()
                 test_depend_exists(target, nested, qualname)

Reply via email to