From 9349b4f01090a6e5888dcd6292a88fbb2820d7e3 Mon Sep 17 00:00:00 2001 From: Jan Laukemann Date: Wed, 11 Oct 2017 21:36:10 +0200 Subject: [PATCH] updated assertion --- tests/test_osaca.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_osaca.py b/tests/test_osaca.py index 1662be7..953d0fc 100755 --- a/tests/test_osaca.py +++ b/tests/test_osaca.py @@ -16,7 +16,9 @@ class TestOsaca(unittest.TestCase): osa = Osaca('IVB', curr_dir+'/testfiles/taxCalc-ivb-iaca', out) osa.inspect_with_iaca() result = out.getvalue() + print(result) result = '\n'.join(result.split('\n')[-27:]) +# print(result) with open(curr_dir+'/test_osaca_iaca.out', encoding='utf-8') as f: assertion = f.read() - self.assertEqual(result, assertion) + self.assertEqual(assertion, result)