Skip to content

Commit

Permalink
test adding auth to package from pypi index
Browse files Browse the repository at this point in the history
  • Loading branch information
croth1 committed Feb 8, 2023
1 parent cc9bc7a commit 5ceeb92
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test-lockfile-with-auth/test.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# The following domains require authentication:
# - a.mychannel.cloud
# - c.mychannel.cloud
# - d.mychannel.cloud
http://username_a:password_a@a.mychannel.cloud/mypackage
http://b.mychannel.cloud/mypackage
http://username_c:password_c@c.mychannel.cloud/mypackage
# pip mypackage @ http://username_d:password_d@d.mychannel.cloud/mypackage
2 changes: 2 additions & 0 deletions tests/test-stripped-lockfile/test.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# The following domains require authentication:
# - a.mychannel.cloud
# - c.mychannel.cloud
# - d.mychannel.cloud
http://a.mychannel.cloud/mypackage
http://b.mychannel.cloud/mypackage
http://c.mychannel.cloud/mypackage
# pip mypackage @ http://d.mychannel.cloud/mypackage
1 change: 1 addition & 0 deletions tests/test_conda_lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -1474,6 +1474,7 @@ def auth_():
return {
"a.mychannel.cloud": "username_a:password_a",
"c.mychannel.cloud": "username_c:password_c",
"d.mychannel.cloud": "username_d:password_d"
}


Expand Down

0 comments on commit 5ceeb92

Please sign in to comment.