aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-09-30 20:26:42 +0600
committerSergey M․ <dstftw@gmail.com>2015-09-30 20:33:51 +0600
commit386a7b52d548da0aaf11e5805d67d5ab30d9dfab (patch)
tree9a6d814b2b247804de02e0dfac22bf76fbbbaf21
parent2e885de796e211300fd70709da17325b84c86dd6 (diff)
[test/helper] Spelling
-rw-r--r--test/helper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/helper.py b/test/helper.py
index 288ed237d..0ce9a0fb3 100644
--- a/test/helper.py
+++ b/test/helper.py
@@ -134,7 +134,7 @@ def expect_value(self, got, expected, field):
type_expected = type(item_expected)
self.assertEqual(
type_expected, type_got,
- 'Type doesn\'t match at element %d of the list in field %s, expect %s, got %s' % (
+ 'Type mismatch for list item at index %d for field %s, expected %r, got %r' % (
index, field, type_expected, type_got))
expect_value(self, item_got, item_expected, field)
else:
@@ -152,7 +152,7 @@ def expect_value(self, got, expected, field):
return
self.assertEqual(
expected, got,
- 'invalid value for field %s, expected %r, got %r' % (field, expected, got))
+ 'Invalid value for field %s, expected %r, got %r' % (field, expected, got))
def expect_dict(self, got_dict, expected_dict):