@@ -198,25 +198,25 @@ def test_create_poetry_with_packages_and_includes(
198198 package = poetry .package
199199
200200 assert package .packages == [
201- {"include" : "extra_dir/**/*.py" },
202- {"include" : "extra_dir/**/*.py" },
203- {"include" : "my_module.py" },
204- {"include" : "package_with_include" },
205- {"include" : "tests" , "format" : "sdist" },
201+ {"include" : "extra_dir/**/*.py" , "format" : [ "sdist" , "wheel" ] },
202+ {"include" : "extra_dir/**/*.py" , "format" : [ "sdist" , "wheel" ] },
203+ {"include" : "my_module.py" , "format" : [ "sdist" , "wheel" ] },
204+ {"include" : "package_with_include" , "format" : [ "sdist" , "wheel" ] },
205+ {"include" : "tests" , "format" : [ "sdist" ] },
206206 {"include" : "for_wheel_only" , "format" : ["wheel" ]},
207- {"include" : "src_package" , "from" : "src" },
207+ {"include" : "src_package" , "from" : "src" , "format" : [ "sdist" , "wheel" ] },
208208 ]
209209
210210 assert package .include in (
211211 # with https://github.com/python-poetry/poetry-core/pull/773
212212 [
213- {"path" : "extra_dir/vcs_excluded.txt" },
214- {"path" : "notes.txt" },
213+ {"path" : "extra_dir/vcs_excluded.txt" , "format" : [ "sdist" , "wheel" ] },
214+ {"path" : "notes.txt" , "format" : [ "sdist" ] },
215215 ],
216216 # without https://github.com/python-poetry/poetry-core/pull/773
217217 [
218- {"path" : "extra_dir/vcs_excluded.txt" , "format" : []},
219- {"path" : "notes.txt" , "format" : []},
218+ {"path" : "extra_dir/vcs_excluded.txt" , "format" : ["sdist" ]},
219+ {"path" : "notes.txt" , "format" : ["sdist" ]},
220220 ],
221221 )
222222
0 commit comments