mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-07-02 00:19:29 +02:00
update tests
This commit is contained in:
@ -15,7 +15,7 @@ class TestLogin(unittest.TestCase):
|
||||
constant.CONFIG['useragent'] = os.getenv('NHENTAI_UA')
|
||||
|
||||
def test_cookie_set(self):
|
||||
self.assertTrue(bool(constant.CONFIG['cookie']))
|
||||
self.assertTrue(constant.CONFIG['useragent'].startswith('Mozilla'))
|
||||
|
||||
def test_cookie(self):
|
||||
try:
|
||||
|
Reference in New Issue
Block a user