test: added a useless --help test to verify commit message hook is working
This commit is contained in:
		
					parent
					
						
							
								39caf5ec42
							
						
					
				
			
			
				commit
				
					
						28db7f21ab
					
				
			
		
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
					@ -20,3 +20,8 @@ def test_version():
 | 
				
			||||||
def test_uuid():
 | 
					def test_uuid():
 | 
				
			||||||
    response = runner.invoke(task_main, ["--uuid"])
 | 
					    response = runner.invoke(task_main, ["--uuid"])
 | 
				
			||||||
    assert response.exit_code == 0
 | 
					    assert response.exit_code == 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					def test_help():
 | 
				
			||||||
 | 
					    response = runner.invoke(task_main, ["--help"])
 | 
				
			||||||
 | 
					    assert response.exit_code == 0
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue