Skip to content
Permalink
Browse files

Better test debugging

  • Loading branch information
nyalldawson committed Aug 25, 2017
1 parent 578045d commit d573c43e3e3a0a6740b1a471abfa45b7f9114bec
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/tests/AlgorithmsTestBase.py
@@ -307,7 +307,7 @@ def check_results(self, results, context, params, expected):
strhash = hashlib.sha224(dataArray.data).hexdigest()

if not isinstance(expected_result['hash'], str):
self.assertTrue(strhash in expected_result['hash'])
self.assertIn(strhash, expected_result['hash'])
else:
self.assertEqual(strhash, expected_result['hash'])
elif 'file' == expected_result['type']:

0 comments on commit d573c43

Please sign in to comment.
You can’t perform that action at this time.