Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/integration/cqlengine/management/test_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def test_table_property_update(self):

table_options = management._get_table_metadata(ModelWithTableProperties).options

self.assertDictContainsSubset(ModelWithTableProperties.__options__, table_options)
self.assertLessEqual(ModelWithTableProperties.__options__.items(), table_options.items())

def test_bogus_option_update(self):
sync_table(ModelWithTableProperties)
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/standard/test_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -1751,9 +1751,9 @@ def test_init_cond(self):
cql_init = encoder.cql_encode_all_types(init_cond)
with self.VerifiedAggregate(self, **self.make_aggregate_kwargs('update_map', 'map<int, int>', init_cond=cql_init)) as va:
map_res = s.execute("SELECT %s(v) AS map_res FROM t" % va.function_kwargs['name'])[0].map_res
self.assertDictContainsSubset(expected_map_values, map_res)
self.assertLessEqual(expected_map_values.items(), map_res.items())
init_not_updated = dict((k, init_cond[k]) for k in set(init_cond) - expected_key_set)
self.assertDictContainsSubset(init_not_updated, map_res)
self.assertLessEqual(init_not_updated.items(), map_res.items())
c.shutdown()

def test_aggregates_after_functions(self):
Expand Down