|
22 | 22 | RESPONSES, KEYS, ITEMS, LAST_EVALUATED_KEY, EXCLUSIVE_START_KEY, ATTRIBUTES, BINARY,
|
23 | 23 | UNPROCESSED_ITEMS, DEFAULT_ENCODING, MAP, LIST, NUMBER, SCANNED_COUNT,
|
24 | 24 | )
|
25 |
| -from pynamodb.models import Model, ResultSet |
| 25 | +from pynamodb.models import Model |
26 | 26 | from pynamodb.indexes import (
|
27 | 27 | GlobalSecondaryIndex, LocalSecondaryIndex, AllProjection,
|
28 | 28 | IncludeProjection, KeysOnlyProjection, Index
|
@@ -2785,23 +2785,6 @@ def test_deserializing_map_four_layers_deep_works(self):
|
2785 | 2785 | item = TreeModel.get('123')
|
2786 | 2786 | self.assertEqual(item.left.left.left.value, 3)
|
2787 | 2787 |
|
2788 |
| - def test_result_set_init(self): |
2789 |
| - results = [] |
2790 |
| - operations = 1 |
2791 |
| - arguments = 'args' |
2792 |
| - rs = ResultSet(results=results, operation=operations, arguments=arguments) |
2793 |
| - self.assertEqual(rs.results, results) |
2794 |
| - self.assertEqual(rs.operation, operations) |
2795 |
| - self.assertEqual(rs.arguments, arguments) |
2796 |
| - |
2797 |
| - def test_result_set_iter(self): |
2798 |
| - results = [1, 2, 3] |
2799 |
| - operations = 1 |
2800 |
| - arguments = 'args' |
2801 |
| - rs = ResultSet(results=results, operation=operations, arguments=arguments) |
2802 |
| - for k in rs: |
2803 |
| - self.assertTrue(k in results) |
2804 |
| - |
2805 | 2788 | def test_explicit_raw_map_serialize_pass(self):
|
2806 | 2789 | map_native = {'foo': 'bar'}
|
2807 | 2790 | map_serialized = {'M': {'foo': {'S': 'bar'}}}
|
|
0 commit comments