Skip to content

Commit

Permalink
Remove creds from test cases (#88)
Browse files Browse the repository at this point in the history
Signed-off-by: Bugra Derre (415) <[email protected]>
  • Loading branch information
Lawouach authored Mar 4, 2020
1 parent c653e92 commit bcdc34b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 0 additions & 2 deletions tests/machine/test_machine_actions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from zipfile import sizeCentralDir

import pytest
from azure.mgmt.compute.v2018_10_01.models import InstanceViewStatus, \
RunCommandResult
Expand Down
8 changes: 3 additions & 5 deletions tests/test__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
from chaosazure import __get_cloud_env_by_name, init_client,\
init_resource_graph_client
from chaoslib.exceptions import InterruptExecution
from azure.mgmt.compute import ComputeManagementClient
from azure.mgmt.resourcegraph import ResourceGraphClient
from logzero import logger
from unittest.mock import MagicMock, patch, ANY
from msrestazure.azure_cloud import AZURE_PUBLIC_CLOUD, \
Expand All @@ -16,9 +14,9 @@
}

SECRETS = {
"client_id": "8d997de9-9daf-43a1-98c3-04f91a64b62f",
"client_secret": "oIAznMsOFRazS/S603EF30oXS7mivghDUQd14qjOotI=",
"tenant_id": "9652d7c2-1ccf-4940-8151-4a92ss474ed0"
"client_id": "***REMOVED***",
"client_secret": "***REMOVED***",
"tenant_id": "***REMOVED***"
}

SECRETS_CHINA = {
Expand Down

0 comments on commit bcdc34b

Please sign in to comment.