mirror of
				https://github.com/laurivosandi/certidude
				synced 2025-10-31 09:29:13 +00:00 
			
		
		
		
	tests: Simplify 'ca-output directory exists' test
This commit is contained in:
		| @@ -44,8 +44,7 @@ def test_cli_setup_authority_invalid_name(): | |||||||
|  |  | ||||||
| def test_cli_setup_authority_overwrite(): | def test_cli_setup_authority_overwrite(): | ||||||
|     with runner.isolated_filesystem(): |     with runner.isolated_filesystem(): | ||||||
|         result = runner.invoke(cli, ['setup', 'authority', 'foo']) |         os.mkdir('foo') | ||||||
|         assert not result.exception |  | ||||||
|  |  | ||||||
|         result = runner.invoke(cli, ['setup', 'authority', 'foo']) |         result = runner.invoke(cli, ['setup', 'authority', 'foo']) | ||||||
|         assert result.exception |         assert result.exception | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user