Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaykanthm committed Jan 21, 2025
1 parent fdb733b commit dbbc6c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
#
# Copyright 2024 Google LLC
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
#
# Copyright 2024 Google LLC
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -236,25 +236,13 @@ def test_delete_security_health_analytics_custom_module():
)
def test_list_security_health_analytics_custom_module():

# module_id = get_random_shared_module()
parent = f"organizations/{ORGANIZATION_ID}/locations/{LOCATION}"
# Retrieve the custom modules
custom_modules = security_health_analytics_custom_modules.list_security_health_analytics_custom_module(parent)

assert custom_modules is not None, "Failed to retrieve the custom modules."
assert len(custom_modules) > 0, "No custom modules were retrieved."

# # Verify the created module is in the list
# created_module = next(
# (module for module in custom_modules if extract_custom_module_id(module.name) == module_id), None
# )
# assert created_module is not None, "Created custom module not found in the list."
# assert created_module.display_name.startswith(PREFIX)
# assert (
# created_module.enablement_state
# == securitycentermanagement_v1.SecurityHealthAnalyticsCustomModule.EnablementState.ENABLED
# )


@backoff.on_exception(
backoff.expo, (InternalServerError, ServiceUnavailable, NotFound), max_tries=3
Expand Down

0 comments on commit dbbc6c6

Please sign in to comment.