Skip to content

Commit

Permalink
wip: add test
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed Aug 25, 2023
1 parent 4f4e170 commit 03b3704
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/test-compile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ run_test sanity-2 compile BUILD_DIR CACHE_DIR
cp fixtures/poetry.lock-valid "$INPUT_DIR"/poetry.lock
run_test no_vars_success compile "$INPUT_DIR" CACHE_DIR fixtures/env_dir

cp fixtures/poetry.lock-valid "$INPUT_DIR"/poetry.lock
# add comment containing the version of Poetry used create the lock file
sed -i '1i# This file is automatically @generated by Poetry 1.6.0 and should not be changed by hand.' "$INPUT_DIR"/poetry.lock
run_test infer_poetry_version compile "$INPUT_DIR" CACHE_DIR fixtures/env_dir

cp fixtures/poetry.lock-valid_exact_version_specifier "$INPUT_DIR"/poetry.lock
run_test exact_version_specifier compile "$INPUT_DIR" CACHE_DIR fixtures/env_dir

Expand Down

0 comments on commit 03b3704

Please sign in to comment.