Skip to content

Commit

Permalink
--no-root
Browse files Browse the repository at this point in the history
  • Loading branch information
hemnstill committed Nov 21, 2023
1 parent 1274da9 commit e1235a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions poetry/test_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ Package operations: 6 installs, 0 updates, 0 removals
• Installing mysqlclient (2.1.1)
• Installing requests (2.28.2)
Writing lock file
Installing the current project: StandaloneTools (1.0.0)'
Writing lock file'

test_version() {
assertEquals "Poetry (version 1.7.1)" "$(../bin/poetry.sh --version)"
Expand Down Expand Up @@ -72,7 +70,7 @@ test_install_from_symlink() {

ln -sf "$(readlink -f ../bin/poetry.sh)" /usr/local/bin/poetry

assertEquals "$poetry_install_stdout" "$(poetry install)"
assertEquals "$poetry_install_stdout" "$(poetry install --no-root)"
}

test_install_from_sh() {
Expand Down
2 changes: 1 addition & 1 deletion poetry/test_windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ test_install_from_path() {
path_with_poetry="$PATH;$(readlink -f ../bin)"
export PATH="$path_with_poetry"

poetry_install_stdout="$(poetry install | dos2unix)"
poetry_install_stdout="$(poetry install --no-root | dos2unix)"

assertEquals "$(echo "$poetry_install_stdout_etalon" | head -4)" "$(echo "$poetry_install_stdout" | head -4)"
}
Expand Down

0 comments on commit e1235a1

Please sign in to comment.