Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
sgomezvillamor committed Dec 24, 2024
1 parent 8e3fdc8 commit acf8969
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1313,7 +1313,7 @@ def test_permission_warning(pytestconfig, tmp_path, mock_datahub_graph):
platform="tableau",
config=mock.MagicMock(),
ctx=mock.MagicMock(),
site=mock.MagicMock(),
site=mock.MagicMock(spec=SiteItem, id="Site1", content_url="site1"),
server=mock_sdk.return_value,
report=reporter,
)
Expand Down Expand Up @@ -1370,7 +1370,7 @@ def test_extract_project_hierarchy(extract_project_hierarchy, allowed_projects):
config=config,
ctx=context,
platform="tableau",
site=SiteItem(name="Site 1", content_url="site1"),
site=mock.MagicMock(spec=SiteItem, id="Site1", content_url="site1"),
report=TableauSourceReport(),
server=Server("https://test-tableau-server.com"),
)
Expand Down

0 comments on commit acf8969

Please sign in to comment.