mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-11-03 19:17:02 -05:00 
			
		
		
		
	Alias for test name option
This commit is contained in:
		
							parent
							
								
									c75f20a875
								
							
						
					
					
						commit
						53168e075e
					
				@ -169,7 +169,7 @@ class Test(Command):
 | 
			
		||||
        parser.add_option('--test-verbosity', type=int, default=4, help='Test verbosity (0-4)')
 | 
			
		||||
        parser.add_option('--test-module', '--test-group', default=[], action='append', type='choice', choices=sorted(map(str, TEST_MODULES)),
 | 
			
		||||
                          help='The test module to run (can be specified more than once for multiple modules). Choices: %s' % ', '.join(sorted(TEST_MODULES)))
 | 
			
		||||
        parser.add_option('--test-name', default=[], action='append',
 | 
			
		||||
        parser.add_option('--test-name', '-n', default=[], action='append',
 | 
			
		||||
                          help='The name of an individual test to run. Can be specified more than once for multiple tests. The name of the'
 | 
			
		||||
                          ' test is the name of the test function without the leading test_. For example, the function test_something()'
 | 
			
		||||
                          ' can be run by specifying the name "something".')
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user