@@ -23,7 +23,7 @@ def test_publish_publishes_to_pypi_by_default(fixture_dir, mocker, config):
23
23
assert [("foo" , "bar" )] == uploader_auth .call_args
24
24
assert [
25
25
("https://upload.pypi.org/legacy/" ,),
26
- {"cert" : None , "client_cert" : None },
26
+ {"cert" : None , "client_cert" : None , "dry_run" : False },
27
27
] == uploader_upload .call_args
28
28
29
29
@@ -45,7 +45,7 @@ def test_publish_can_publish_to_given_repository(fixture_dir, mocker, config):
45
45
assert [("foo" , "bar" )] == uploader_auth .call_args
46
46
assert [
47
47
("http://foo.bar" ,),
48
- {"cert" : None , "client_cert" : None },
48
+ {"cert" : None , "client_cert" : None , "dry_run" : False },
49
49
] == uploader_upload .call_args
50
50
51
51
@@ -74,7 +74,7 @@ def test_publish_uses_token_if_it_exists(fixture_dir, mocker, config):
74
74
assert [("__token__" , "my-token" )] == uploader_auth .call_args
75
75
assert [
76
76
("https://upload.pypi.org/legacy/" ,),
77
- {"cert" : None , "client_cert" : None },
77
+ {"cert" : None , "client_cert" : None , "dry_run" : False },
78
78
] == uploader_upload .call_args
79
79
80
80
@@ -98,7 +98,7 @@ def test_publish_uses_cert(fixture_dir, mocker, config):
98
98
assert [("foo" , "bar" )] == uploader_auth .call_args
99
99
assert [
100
100
("https://foo.bar" ,),
101
- {"cert" : Path (cert ), "client_cert" : None },
101
+ {"cert" : Path (cert ), "client_cert" : None , "dry_run" : False },
102
102
] == uploader_upload .call_args
103
103
104
104
@@ -119,7 +119,7 @@ def test_publish_uses_client_cert(fixture_dir, mocker, config):
119
119
120
120
assert [
121
121
("https://foo.bar" ,),
122
- {"cert" : None , "client_cert" : Path (client_cert )},
122
+ {"cert" : None , "client_cert" : Path (client_cert ), "dry_run" : False },
123
123
] == uploader_upload .call_args
124
124
125
125
@@ -137,5 +137,5 @@ def test_publish_read_from_environment_variable(fixture_dir, environ, mocker, co
137
137
assert [("bar" , "baz" )] == uploader_auth .call_args
138
138
assert [
139
139
("https://foo.bar" ,),
140
- {"cert" : None , "client_cert" : None },
140
+ {"cert" : None , "client_cert" : None , "dry_run" : False },
141
141
] == uploader_upload .call_args
0 commit comments