From: Michael Tremer Date: Wed, 21 Feb 2024 16:20:44 +0000 (+0000) Subject: tests: Show even large diffs in dedup tests X-Git-Tag: 0.9.18~179 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a243a4304448c2183a49aa8bc1fc033b28a7a43c;p=location%2Flibloc.git tests: Show even large diffs in dedup tests Signed-off-by: Michael Tremer --- diff --git a/tests/python/networks-dedup.py b/tests/python/networks-dedup.py index abceaae..190b367 100644 --- a/tests/python/networks-dedup.py +++ b/tests/python/networks-dedup.py @@ -23,6 +23,10 @@ import tempfile import unittest class Test(unittest.TestCase): + def setUp(self): + # Show even very large diffs + self.maxDiff = None + def __test(self, inputs, outputs): """ Takes a list of networks that are written to the database and @@ -73,8 +77,6 @@ class Test(unittest.TestCase): """ Nothing should be changed here """ - self.maxDiff = None - networks = ( ("10.0.0.0/8", None, None), ("20.0.0.0/8", None, None),