Skip to content

Commit bcdc34b

Browse files
authored
Remove creds from test cases (#88)
Signed-off-by: Bugra Derre (415) <bugra.derre@daimler.com>
1 parent c653e92 commit bcdc34b

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

tests/machine/test_machine_actions.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from zipfile import sizeCentralDir
2-
31
import pytest
42
from azure.mgmt.compute.v2018_10_01.models import InstanceViewStatus, \
53
RunCommandResult

tests/test__init__.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
from chaosazure import __get_cloud_env_by_name, init_client,\
33
init_resource_graph_client
44
from chaoslib.exceptions import InterruptExecution
5-
from azure.mgmt.compute import ComputeManagementClient
6-
from azure.mgmt.resourcegraph import ResourceGraphClient
75
from logzero import logger
86
from unittest.mock import MagicMock, patch, ANY
97
from msrestazure.azure_cloud import AZURE_PUBLIC_CLOUD, \
@@ -16,9 +14,9 @@
1614
}
1715

1816
SECRETS = {
19-
"client_id": "8d997de9-9daf-43a1-98c3-04f91a64b62f",
20-
"client_secret": "oIAznMsOFRazS/S603EF30oXS7mivghDUQd14qjOotI=",
21-
"tenant_id": "9652d7c2-1ccf-4940-8151-4a92ss474ed0"
17+
"client_id": "***REMOVED***",
18+
"client_secret": "***REMOVED***",
19+
"tenant_id": "***REMOVED***"
2220
}
2321

2422
SECRETS_CHINA = {

0 commit comments

Comments
 (0)