Skip to content

Commit 14c8223

Browse files
authored
Update integration test to use make_random() properly (#4189)
## Changes This PR updates a test that was using the `make_random` fixture incorrectly: instead of calling the function and using the result, it was passing the function itself. ### Tests - updated integration test
1 parent b6dc22b commit 14c8223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/hive_metastore/test_external_locations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,6 @@ def test_save_external_location_mapping_missing_location(ws, sql_backend, invent
101101
tables_crawler = TablesCrawler(sql_backend, inventory_schema)
102102
mounts_crawler = MountsCrawler(sql_backend, ws, inventory_schema)
103103
location_crawler = ExternalLocations(ws, sql_backend, inventory_schema, tables_crawler, mounts_crawler)
104-
installation = Installation(ws, make_random)
104+
installation = Installation(ws, make_random())
105105
path = location_crawler.save_as_terraform_definitions_on_workspace(installation)
106106
assert ws.workspace.get_status(path)

0 commit comments

Comments
 (0)