Skip to content

Commit

Permalink
Better test debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 25, 2017
1 parent 578045d commit d573c43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/tests/AlgorithmsTestBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']:
Expand Down

0 comments on commit d573c43

Please sign in to comment.