Skip to content

Commit

Permalink
Improve tests
Browse files Browse the repository at this point in the history
  • Loading branch information
j178 committed Mar 20, 2024
1 parent 64bb92a commit 0aff801
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions rye/tests/test_publish.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@ fn test_publish_outside_project() {
.rye_cmd()
.arg("publish")
.arg("--yes")
.arg("--token")
.arg("fake-token")
.arg("--quiet")
.current_dir(space.project_path().parent().unwrap())
.arg("./my-project/dist/*"), @r###"
.arg(space.project_path().join("./dist/*")), @r###"
success: false
exit_code: 1
----- stdout -----
No access token found, generate one at: https://pypi.org/manage/account/token/
----- stderr -----
error: an access token is required
error: failed to publish files
"###);
}

0 comments on commit 0aff801

Please sign in to comment.