Skip to content

Commit

Permalink
gth testing
Browse files Browse the repository at this point in the history
  • Loading branch information
SermetPekin committed Apr 20, 2024
1 parent e9b1f88 commit cdd3d8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions evdspy/EVDSlocal/tests/test_user_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@


def test_get_api_key_file(capsys):
if GithubActions().is_testing(): return
with capsys.disabled():
api_key_file = get_api_key_file(deep=8)
print(api_key_file.absolute())
assert api_key_file is not None


def test_ApiClassWhileTesting(capsys):
if GithubActions().is_testing(): return
with capsys.disabled():
api_key = ApiClassWhileTesting().key
print(ApikeyClass().obscure(api_key))
Expand Down
2 changes: 2 additions & 0 deletions evdspy/EVDSlocal/utils/utils_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,15 @@ def get_file_deep(number):

def test_get_api_key_file(capsys):
if GithubActions().is_testing(): return
if GithubActions().is_testing(): return

with capsys.disabled():
api_key = get_api_key_file(deep=8)
print(api_key)


def get_api_key_while_testing():

file_name = get_api_key_file(deep=7)
if file_name is None:
return False
Expand Down

0 comments on commit cdd3d8a

Please sign in to comment.