diff --git a/rye/tests/common/mod.rs b/rye/tests/common/mod.rs index e2f25a6ad2..a8335745b2 100644 --- a/rye/tests/common/mod.rs +++ b/rye/tests/common/mod.rs @@ -70,15 +70,15 @@ username = "bad name" token = "bad token" [good-repo-bad-token] -repository-url = "http://localhost:5353" +repository-url = "http://localhost:5353/" token = "bad token" [good-repo-keyring] -repository-url = "http://localhost:5353" +repository-url = "http://localhost:5353/" username = "test-keyring" [no-repo-username-keyring] -repository-url = "http://localhost:5353" +repository-url = "http://localhost:5353/" "#, ) .unwrap(); diff --git a/rye/tests/test_publish.rs b/rye/tests/test_publish.rs index 35c4d47ff9..e53dfd82da 100644 --- a/rye/tests/test_publish.rs +++ b/rye/tests/test_publish.rs @@ -104,7 +104,7 @@ fn test_publish() { "###); // prompt username (keyring fallback) - rye_cmd_snapshot!(space.rye_cmd().arg("publish").arg("-r").arg("no-repo-username-keyring"), @r###" + rye_cmd_snapshot!(space.rye_cmd().arg("publish").arg("-r").arg("no-repo-username-keyring").arg("--skip-save-credentials"), @r###" success: false exit_code: 1 ----- stdout -----