Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mahtin committed Dec 31, 2023
1 parent 609044f commit 5390d3d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/test_issue114.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@

cf = None

debug = False

class TestCloudflare:
""" TestCloudflare """

def __init__(self, debug=False):
self._debug = debug

def test_email_key_token000(self):
self._run(0, 0, 0)
def test_email_key_token001(self):
Expand Down Expand Up @@ -92,7 +91,7 @@ def _run(self, token_index, key_index, email_index):
token = [None, self._token, self._key][token_index]

try:
cf = CloudFlare.CloudFlare(email=email, key=key, token=token, debug=self._debug, profile=profile)
cf = CloudFlare.CloudFlare(email=email, key=key, token=token, debug=debug, profile=profile)
except Exception as e:
print('Error: %s' % (e))
# don't know what to do; but, lets continue anyway
Expand Down Expand Up @@ -196,7 +195,8 @@ def _obfuscate(self, s):
return '█' if s is None else '█' * len(s)

if __name__ == '__main__':
t = TestCloudflare(debug=True)
debug = True
t = TestCloudflare()
t.test_email_key_token000()
t.test_email_key_token001()
t.test_email_key_token002()
Expand Down

0 comments on commit 5390d3d

Please sign in to comment.