Skip to content

Commit

Permalink
Fix reference to vars in errors_test
Browse files Browse the repository at this point in the history
  • Loading branch information
jm-mailosaur committed Aug 1, 2024
1 parent 6a476a4 commit 318f18b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/errors_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
class ErrorsTest(TestCase):
@classmethod
def setUpClass(self):
api_key = os.getenv('MAILOSAUR_API_KEY')
base_url = os.getenv('MAILOSAUR_BASE_URL')
self.api_key = os.getenv('MAILOSAUR_API_KEY')
self.base_url = os.getenv('MAILOSAUR_BASE_URL')

if api_key is None:
if self.api_key is None:
raise Exception(
"Missing necessary environment variables - refer to README.md")

Expand Down

0 comments on commit 318f18b

Please sign in to comment.