File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,8 @@ def initialize(
55
55
56
56
build_data ["artifacts" ].append (str (out_dir .relative_to (self .root )))
57
57
58
+ print (build_data ["artifacts" ])
59
+
58
60
59
61
def load_scripts (config : dict [str , Any ]) -> Sequence [OneScriptConfig ]:
60
62
script_defaults = dataclass_defaults (OneScriptConfig )
Original file line number Diff line number Diff line change
1
+ from os .path import join as joinpath
2
+
1
3
from hatch_build_scripts .plugin import OneScriptConfig
2
4
3
5
from .utils import create_project
@@ -55,7 +57,7 @@ def test_plugin(tmpdir):
55
57
with proj .dist () as dist :
56
58
files = {file .filename for file in dist .filelist }
57
59
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