We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 045fc0e commit 1b4280bCopy full SHA for 1b4280b
1 file changed
tests/unit/test_baseapi.py
@@ -17,9 +17,10 @@
17
18
class BaseAPITestCase(MockedAPITestCase):
19
def test_raises_exception_for_missing_key(self) -> None:
20
- os.environ.pop("PAYSTACK_SECRET_KEY", None)
+ paystack_secret_key = os.environ.pop("PAYSTACK_SECRET_KEY", None)
21
with self.assertRaises(MissingSecretKeyException):
22
BaseAPIClient()
23
+ os.environ["PAYSTACK_SECRET_KEY"] = paystack_secret_key
24
25
def test__full_url(self) -> None:
26
load_dotenv()
0 commit comments