Explorar o código

HUE-8624 [beeswax] Fix tests on create database to redirect on a v4 page

Romain Rigaux %!s(int64=7) %!d(string=hai) anos
pai
achega
094274e
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      apps/beeswax/src/beeswax/tests.py

+ 2 - 2
apps/beeswax/src/beeswax/tests.py

@@ -1690,7 +1690,7 @@ for x in sys.stdin:
       }, follow=True)
       resp = self.client.get(reverse("beeswax:api_watch_query_refresh_json", kwargs={'id': resp.context[0]['query'].id}), follow=True)
       resp = wait_for_query_to_finish(self.client, resp, max=180.0)
-      resp = self.client.get("/metastore/databases/")
+      resp = self.client.get("/hue/metastore/databases/")
       assert_true(db_name in resp.context[0]["databases"], resp)
 
       # Test for accented characters in 'comment'
@@ -1702,7 +1702,7 @@ for x in sys.stdin:
       }, follow=True)
       resp = self.client.get(reverse("beeswax:api_watch_query_refresh_json", kwargs={'id': resp.context[0]['query'].id}), follow=True)
       resp = wait_for_query_to_finish(self.client, resp, max=180.0)
-      resp = self.client.get("/metastore/databases/")
+      resp = self.client.get("/hue/metastore/databases/")
       assert_true(db_name_accent in resp.context[0]['databases'], resp)
     finally:
       make_query(self.client, 'DROP DATABASE IF EXISTS %(db)s' % {'db': db_name}, wait=True)