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
cbff6496c3
commit
8972026456
@ -14,9 +14,6 @@ class TestLogin(unittest.TestCase):
|
|||||||
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')
|
||||||
|
|
||||||
def test_cookie_set(self):
|
|
||||||
raise Exception(constant.CONFIG['useragent'])
|
|
||||||
|
|
||||||
def test_cookie(self):
|
def test_cookie(self):
|
||||||
try:
|
try:
|
||||||
check_cookie()
|
check_cookie()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user