Skip to content

Commit

Permalink
test_metadata: Don't assume extensions are empty by default
Browse files Browse the repository at this point in the history
This is not true in new versions of Scylla
  • Loading branch information
Lorak-mmk committed Jul 2, 2024
1 parent f15e502 commit 10cdc2a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/integration/standard/test_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -972,9 +972,6 @@ def test_table_extensions(self):
table_meta = ks_meta.tables[t]
view_meta = table_meta.views[v]

self.assertFalse(table_meta.extensions)
self.assertFalse(view_meta.extensions)

original_table_cql = table_meta.export_as_string()
original_view_cql = view_meta.export_as_string()

Expand All @@ -990,8 +987,6 @@ def after_table_cql(cls, table_meta, ext_key, ext_blob):
class Ext1(Ext0):
name = t + '##'

self.assertFalse(table_meta.extensions)
self.assertFalse(view_meta.extensions)
self.assertIn(Ext0.name, _RegisteredExtensionType._extension_registry)
self.assertIn(Ext1.name, _RegisteredExtensionType._extension_registry)
# There will bee the RLAC extension here.
Expand Down

0 comments on commit 10cdc2a

Please sign in to comment.