mirror of
				https://github.com/RicterZ/nhentai.git
				synced 2025-11-03 18:50:53 +01:00 
			
		
		
		
	update tests
This commit is contained in:
		@@ -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()
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user