Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
maroba committed Apr 29, 2021
1 parent 21150fd commit 7179dd5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import pathlib

from click.testing import CliRunner
import click

from manati.manati import cli

Expand All @@ -29,6 +30,6 @@ def test_create_project_do_not_overwrite(self):
runner = CliRunner()
with runner.isolated_filesystem():
os.mkdir('tee')
with self.assertRaises(Exception):
with self.assertRaises(click.BadParameter):
result = runner.invoke(cli, ['create', '-n' , 'tee'], input='\n\n\n')

0 comments on commit 7179dd5

Please sign in to comment.