mirror of
				https://github.com/ytdl-org/youtube-dl
				synced 2025-10-31 09:43:32 +00:00 
			
		
		
		
	Improve test_all_urls output
This commit is contained in:
		
							parent
							
								
									d36d3f420c
								
							
						
					
					
						commit
						22449fa624
					
				| @ -109,7 +109,9 @@ class TestAllURLsMatching(unittest.TestCase): | |||||||
|                 if type(ie).__name__ in ('GenericIE', tc['name'] + 'IE'): |                 if type(ie).__name__ in ('GenericIE', tc['name'] + 'IE'): | ||||||
|                     self.assertTrue(ie.suitable(url), '%s should match URL %r' % (type(ie).__name__, url)) |                     self.assertTrue(ie.suitable(url), '%s should match URL %r' % (type(ie).__name__, url)) | ||||||
|                 else: |                 else: | ||||||
|                     self.assertFalse(ie.suitable(url), '%s should not match URL %r' % (type(ie).__name__, url)) |                     self.assertFalse( | ||||||
|  |                         ie.suitable(url), | ||||||
|  |                         '%s should not match URL %r . That URL belongs to %s.' % (type(ie).__name__, url, tc['name'])) | ||||||
| 
 | 
 | ||||||
|     def test_keywords(self): |     def test_keywords(self): | ||||||
|         self.assertMatch(':ytsubs', ['youtube:subscriptions']) |         self.assertMatch(':ytsubs', ['youtube:subscriptions']) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Philipp Hagemeister
						Philipp Hagemeister