mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore: remove deprecated api /superset/filter/... (#24335)
This commit is contained in:
committed by
GitHub
parent
3d9c7d4598
commit
2df699c99c
@@ -308,19 +308,6 @@ class TestCore(SupersetTestCase):
|
||||
db.session.delete(slc)
|
||||
db.session.commit()
|
||||
|
||||
@pytest.mark.usefixtures("load_energy_table_with_slice")
|
||||
def test_filter_endpoint(self):
|
||||
self.login(username="admin")
|
||||
tbl_id = self.table_ids.get("energy_usage")
|
||||
table = db.session.query(SqlaTable).filter(SqlaTable.id == tbl_id)
|
||||
table.filter_select_enabled = True
|
||||
url = "/superset/filter/table/{}/target/"
|
||||
|
||||
# Changing name
|
||||
resp = self.get_resp(url.format(tbl_id))
|
||||
assert len(resp) > 0
|
||||
assert "energy_target0" in resp
|
||||
|
||||
@pytest.mark.usefixtures("load_birth_names_dashboard_with_slices")
|
||||
def test_slice_data(self):
|
||||
# slice data should have some required attributes
|
||||
|
||||
Reference in New Issue
Block a user