From 0aa8e1d358f116f5f3d15572d00087ea49e6ccf8 Mon Sep 17 00:00:00 2001 From: Ricter Z Date: Mon, 6 Feb 2023 17:27:42 +0800 Subject: [PATCH] update tests --- tests/test_login.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_login.py b/tests/test_login.py index a07ba5e..924a8bc 100644 --- a/tests/test_login.py +++ b/tests/test_login.py @@ -13,7 +13,9 @@ class TestLogin(unittest.TestCase): load_config() constant.CONFIG['cookie'] = os.getenv('NHENTAI_COOKIE') constant.CONFIG['useragent'] = os.getenv('NHENTAI_UA') - print(constant.CONFIG) + + def test_cookie_set(self): + self.assertTrue(bool(constant.CONFIG['cookie'])) def test_cookie(self): try: