Skip to content

Commit e405ef6

Browse files
committed
Use grants crawler to crawl grants
1 parent 86df651 commit e405ef6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/hive_metastore/test_grant_detail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def test_grant_findings(runtime_ctx: MockRuntimeContext, sql_backend_tacl: SqlBa
122122
ctx.sql_backend.execute(f"DENY SELECT ON TABLE {table_b.full_name} TO `{group.display_name}`")
123123

124124
# Ensure the view is populated (it's based on the crawled grants) and fetch the content.
125-
ctx.grants.snapshot()
125+
ctx.grants_crawler.snapshot()
126126

127127
grants_detail_query = f"""
128128
SELECT object_type, object_id, success, failures

0 commit comments

Comments
 (0)