Skip to content

Commit

Permalink
Remove duplicated test
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindio committed Mar 6, 2018
1 parent f6bca1b commit dfc64d7
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/k8s/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,6 @@ def test_list_without_namespace(self, session):
"GET", _absolute_url("/example/list"), json=None, timeout=10
)

@pytest.mark.parametrize("key", SENSITIVE_HEADERS)
def test_redacts_sensitive_headers(self, key):
message = []
sensitive_value = "super sensitive data that should not be exposed"
Client._add_headers(message, {key: sensitive_value}, "")
text = "".join(message)
assert sensitive_value not in text

def test_find_without_namespace_should_raise_exception_when_list_url_is_not_set_on_metaclass(self, session):
with pytest.raises(NotImplementedError):
list(WatchListExampleUnsupported.find("foo", namespace=None))
Expand Down

0 comments on commit dfc64d7

Please sign in to comment.