mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-20 02:41:19 +02:00
update tests
This commit is contained in:
parent
c66fa5f816
commit
3de4159a39
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user