Skip to content

Commit

Permalink
test: mark cli test as slow
Browse files Browse the repository at this point in the history
  • Loading branch information
jannismain committed Sep 21, 2023
1 parent 7148b05 commit f786359
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ def bin():
yield Path(os.getenv("BIN_PATH", "."))


@pytest.mark.slow
def test_template_generation_via_cli(bin: Path, tmp_path: Path):
# generate project
child = pexpect.spawn(str(bin / "init-python-project"), ["my-project"], cwd=tmp_path, timeout=3)
child.expect(".* project.*")
child.sendline("My Project")
Expand All @@ -27,7 +27,7 @@ def test_template_generation_via_cli(bin: Path, tmp_path: Path):
child.expect(".* platform.*")
child.sendline("") # accept default
child.expect(".* name.*")
child.sendline("cool-user") # accept default
child.sendline("cool-user")
child.expect(".* remote.*")
child.sendline("") # accept default
child.expect(".* initial git branch.*")
Expand Down

0 comments on commit f786359

Please sign in to comment.