Fixing the examples (#7376)

Fixing a few failing examples, examples were referencing metrics that
were getting auto-generated in the past (like `sum__num`),
that we now prevent from getting created.
This commit is contained in:
Maxime Beauchemin
2019-07-04 13:23:02 -07:00
committed by GitHub
parent 39f83b5490
commit ab8af536b0
7 changed files with 29 additions and 15 deletions

View File

@@ -280,7 +280,8 @@ class CoreTests(SupersetTestCase):
]
for name, method, url in urls:
logging.info(f"[{name}]/[{method}]: {url}")
self.client.get(url)
resp = self.client.get(url)
self.assertEqual(resp.status_code, 200)
def test_tablemodelview_list(self):
self.login(username="admin")