mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-20 11:01:17 +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')
|
constant.CONFIG['useragent'] = os.getenv('NHENTAI_UA')
|
||||||
|
|
||||||
def test_cookie_set(self):
|
def test_cookie_set(self):
|
||||||
self.assertTrue(bool(constant.CONFIG['cookie']))
|
self.assertTrue(constant.CONFIG['useragent'].startswith('Mozilla'))
|
||||||
|
|
||||||
def test_cookie(self):
|
def test_cookie(self):
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user