@@ -18,7 +18,7 @@ def test_cli_basic():
1818 with runner .isolated_filesystem ():
1919 result = runner .invoke (main , ["test-project" ])
2020 assert result .exit_code == 0
21-
21+
2222 # Check if project was created
2323 assert os .path .exists ("test-project" )
2424 assert os .path .exists (os .path .join ("test-project" , "src" ))
@@ -29,23 +29,23 @@ def test_cli_with_options():
2929 runner = CliRunner ()
3030 with runner .isolated_filesystem ():
3131 result = runner .invoke (
32- main ,
32+ main ,
3333 [
3434 "test-project" ,
3535 "--description" , "Test project description" ,
3636 "--license" , "BSD" ,
3737 ]
3838 )
3939 assert result .exit_code == 0
40-
40+
4141 # Check if project was created
4242 project_dir = Path ("test-project" )
4343 assert project_dir .exists ()
44-
44+
4545 # Check if description was added to README
4646 readme_content = (project_dir / "README.md" ).read_text ()
4747 assert "Test project description" in readme_content
48-
48+
4949 # Check if license was set correctly
5050 setup_cfg = (project_dir / "setup.cfg" ).read_text ()
5151 assert "BSD" in setup_cfg
@@ -57,7 +57,7 @@ def test_cli_invalid_path():
5757 # Create a file that will conflict with the project path
5858 with open ("existing-file" , "w" ) as f :
5959 f .write ("test" )
60-
60+
6161 result = runner .invoke (main , ["existing-file" ])
6262 assert result .exit_code != 0
6363
0 commit comments