mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
remove bootstrappy assertions
This commit is contained in:
parent
fc5c1b421b
commit
291fcd3c9b
@ -128,7 +128,6 @@ class TestDashboard(SupersetTestCase):
|
||||
dash_count_before = db.session.query(func.count(Dashboard.id)).first()[0]
|
||||
url = "/dashboard/new/"
|
||||
resp = self.get_resp(url)
|
||||
self.assertIn("[ untitled dashboard ]", resp)
|
||||
dash_count_after = db.session.query(func.count(Dashboard.id)).first()[0]
|
||||
self.assertEqual(dash_count_before + 1, dash_count_after)
|
||||
|
||||
@ -176,9 +175,6 @@ class TestDashboard(SupersetTestCase):
|
||||
self.assertIn("world_health", new_url)
|
||||
self.assertNotIn("preselect_filters", new_url)
|
||||
|
||||
resp = self.get_resp(new_url)
|
||||
self.assertIn("North America", resp)
|
||||
|
||||
@pytest.mark.usefixtures("load_world_bank_dashboard_with_slices")
|
||||
def test_save_dash_with_invalid_filters(self, username="admin"):
|
||||
self.login(username=username)
|
||||
@ -394,8 +390,6 @@ class TestDashboard(SupersetTestCase):
|
||||
resp = self.get_resp("/api/v1/dashboard/")
|
||||
self.assertIn("/superset/dashboard/births/", resp)
|
||||
|
||||
self.assertIn("Births", self.get_resp("/superset/dashboard/births/"))
|
||||
|
||||
# Confirm that public doesn't have access to other datasets.
|
||||
resp = self.get_resp("/api/v1/chart/")
|
||||
self.assertNotIn("wb_health_population", resp)
|
||||
|
Loading…
Reference in New Issue
Block a user