Skip to content

Commit 66cd3af

Browse files
committed
Install toml before running cruft in new cookie creation unit test
1 parent 6349efb commit 66cd3af

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/test_new_cookie.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,12 @@ def test_new_cookie_create(temp_dir: str) -> None:
3939
.strip()
4040
), "Untracked files present in template-rendered project"
4141

42+
# Verify cruft is up to date
43+
subprocess.check_call(["poetry", "run", "pip", "install", "toml"])
4244
subprocess.check_call(
4345
["poetry", "run", "cruft", "diff", "--exit-code"], cwd=project_dir
4446
)
47+
4548
# Install rendered project
4649
subprocess.check_call(["poetry", "install"], cwd=project_dir)
4750
# Run rendered project's tests

0 commit comments

Comments
 (0)