Skip to content

Commit

Permalink
feat(azure): remove typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrooot committed Nov 13, 2024
1 parent c83a4f3 commit bfe4d6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def execute(self) -> list[Check_Report_Azure]:
report = Check_Report_Azure(self.metadata())
report.subscription = subscription
report.resource_name = "Network Watcher"
report.location = "Global"
report.location = "global"
report.resource_id = f"/subscriptions/{network_client.subscriptions[subscription]}/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_*"

missing_locations = set(network_client.locations[subscription]) - set(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def test_network_invalid_network_watchers(self):
assert result[0].subscription == AZURE_SUBSCRIPTION_NAME
assert result[0].resource_name == network_watcher_name
assert result[0].resource_id == network_watcher_id
assert result[0].location == "Global"
assert result[0].location == "global"

def test_network_valid_network_watchers(self):
network_client = mock.MagicMock
Expand Down Expand Up @@ -124,4 +124,4 @@ def test_network_valid_network_watchers(self):
assert result[0].subscription == AZURE_SUBSCRIPTION_NAME
assert result[0].resource_name == network_watcher_name
assert result[0].resource_id == network_watcher_id
assert result[0].location == "Global"
assert result[0].location == "global"

0 comments on commit bfe4d6d

Please # to comment.