mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-19 18:31:24 +02:00
update tests
This commit is contained in:
parent
0f54762229
commit
0aa8e1d358
@ -13,7 +13,9 @@ class TestLogin(unittest.TestCase):
|
|||||||
load_config()
|
load_config()
|
||||||
constant.CONFIG['cookie'] = os.getenv('NHENTAI_COOKIE')
|
constant.CONFIG['cookie'] = os.getenv('NHENTAI_COOKIE')
|
||||||
constant.CONFIG['useragent'] = os.getenv('NHENTAI_UA')
|
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):
|
def test_cookie(self):
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user