Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed May 15, 2024
1 parent e4cb128 commit 64832f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/connectors/Kubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ def get_response(self, method, url, verify, headers, data):
'{"configMap": {"name": "configmap"}}, {"secret": {"secretName": "secret"}}]}}')
if url == "/api/v1/namespaces/somenamespace":
resp.status_code = 200
resp.json.return_value = {'apiVersion': 'v1', 'kind': 'Namespace',
'metadata': {'name': 'somenamespace', 'labels': {'inf_id': 'infid'}}}
resp.json.return_value = {'apiVersion': 'v1', 'kind': 'Namespace',
'metadata': {'name': 'somenamespace', 'labels': {'inf_id': 'infid'}}}
elif method == "POST":
if url.endswith("/pods"):
resp.status_code = 201
Expand Down

0 comments on commit 64832f5

Please sign in to comment.