mirror of
https://github.com/apache/superset.git
synced 2026-04-21 17:14:57 +00:00
fix: Ensure table uniqueness on update (#15909)
* fix: Ensure table uniqueness on update * Update models.py * Update slice.py * Update datasource_tests.py Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
@@ -241,7 +241,7 @@ class TestDatabaseModel(SupersetTestCase):
|
||||
FilterTestCase(FilterOperator.IN, ["1", "2"], "IN (1, 2)"),
|
||||
FilterTestCase(FilterOperator.NOT_IN, ["1", "2"], "NOT IN (1, 2)"),
|
||||
)
|
||||
table = self.get_table_by_name("birth_names")
|
||||
table = self.get_table(name="birth_names")
|
||||
for filter_ in filters:
|
||||
query_obj = {
|
||||
"granularity": None,
|
||||
|
||||
Reference in New Issue
Block a user