diff options
| author | Tim Graham <timograham@gmail.com> | 2017-03-17 07:51:48 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-17 07:51:48 -0400 |
| commit | 6b4f018b2b3478d2a4a441ed52d43f6268ac89f3 (patch) | |
| tree | 21a1573a6d8a1e7ee8554adc318174ffda0bf8bd /tests/postgres_tests/test_hstore.py | |
| parent | e32265de1a68361ea078f49877ccb0f742508728 (diff) | |
Replaced type-specific assertions with assertEqual().
Python docs say, "it's usually not necessary to invoke these methods directly."
Diffstat (limited to 'tests/postgres_tests/test_hstore.py')
| -rw-r--r-- | tests/postgres_tests/test_hstore.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/postgres_tests/test_hstore.py b/tests/postgres_tests/test_hstore.py index 09d2de1017..b7656eee9e 100644 --- a/tests/postgres_tests/test_hstore.py +++ b/tests/postgres_tests/test_hstore.py @@ -47,13 +47,13 @@ class SimpleTests(HStoreTestCase): instance = HStoreModel.objects.create(field=value) instance = HStoreModel.objects.get() - self.assertDictEqual(instance.field, expected_value) + self.assertEqual(instance.field, expected_value) instance = HStoreModel.objects.get(field__a=1) - self.assertDictEqual(instance.field, expected_value) + self.assertEqual(instance.field, expected_value) instance = HStoreModel.objects.get(field__has_keys=[2, 'a', 'ï']) - self.assertDictEqual(instance.field, expected_value) + self.assertEqual(instance.field, expected_value) class TestQuerying(HStoreTestCase): |
