File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ def initialize(
4848 for artifact_file in script .artifact_files ():
4949 src_file = work_dir / artifact_file
5050 out_file = out_dir / artifact_file
51+ print (src_file , out_file )
5152 if src_file not in created :
5253 out_file .parent .mkdir (parents = True , exist_ok = True )
5354 shutil .copyfile (src_file , out_file )
Original file line number Diff line number Diff line change 1+ from os .path import join as joinpath
2+
13from hatch_build_scripts .plugin import OneScriptConfig
24
35from .utils import create_project
@@ -55,7 +57,7 @@ def test_plugin(tmpdir):
5557 with proj .dist () as dist :
5658 files = {file .filename for file in dist .filelist }
5759
58- assert "fake/fake.txt" in files
59- assert "some-dir-out/ module.py" in files
60- assert "another-dir-out/ module.py" not in files
61- assert "some-dir-out/ f3.txt" not in files
60+ assert joinpath ( "fake/fake.txt" ) in files
61+ assert joinpath ( "some-dir-out" , " module.py") in files
62+ assert joinpath ( "another-dir-out" , " module.py") not in files
63+ assert joinpath ( "some-dir-out" , " f3.txt") not in files
You can’t perform that action at this time.
0 commit comments