Skip to content

Commit d12852b

Browse files
committed
Fixed lint issues
1 parent 680d2c0 commit d12852b

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

securitycenter/snippets_v2/regional_endpoint_snippet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ def rep_list_finding(parent, endpoint) -> int:
4242
)
4343
return count
4444

45-
# [END securitycenter_regional_endpoint_list_findings]
45+
# [END securitycenter_regional_endpoint_list_findings]

securitycenter/snippets_v2/regional_endpoint_snippet_test.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,21 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616
import os
17+
1718
import pytest
19+
1820
import regional_endpoint_snippet
1921

22+
2023
@pytest.fixture(scope="module")
2124
def parent():
2225
return f"{(os.environ['DRZ_SA_ORGANIZATION'])}/sources/-/locations/sa"
2326

27+
2428
def endpoint():
2529
return "securitycenter.me-central2.rep.googleapis.com"
2630

31+
2732
def test_rep_list_finding():
2833
count = regional_endpoint_snippet.rep_list_finding(parent, endpoint)
29-
assert count > 0
34+
assert count > 0

0 commit comments

Comments
 (0)