michael-s-molina commented on a change in pull request #19324:
URL: https://github.com/apache/superset/pull/19324#discussion_r834392218



##########
File path: tests/integration_tests/explore/permalink/api_tests.py
##########
@@ -51,15 +52,31 @@ def form_data(chart) -> Dict[str, Any]:
     }
 
 
-def test_post(client, form_data):
+@pytest.fixture
+def permalink_salt() -> Iterator[str]:
+    from superset.key_value.shared_entries import get_permalink_salt, 
get_uuid_namespace
+    from superset.key_value.types import SharedKey
+
+    key = SharedKey.EXPLORE_PERMALINK_SALT
+    salt = get_permalink_salt(key)
+    yield salt
+    namespace = get_uuid_namespace(salt)
+    db.session.query(KeyValueEntry).filter_by(
+        resource="app", uuid=uuid3(namespace, key),

Review comment:
       Same here




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to