File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -97,12 +97,12 @@ def test_manifest_simple(tmp_path: Path) -> None:
9797 assert t_print .platform is None
9898 assert t_print .deploy_dir is None
9999
100- # t_rune = project.get_target("rs")
101- # assert t_rune.format == "html"
102- # assert t_rune.platform == "runestone"
103- # assert t_rune.output_dir_abspath().resolve().relative_to(
104- # project.abspath()
105- # ) == Path("published/runestone-document-id ")
100+ t_rune = project .get_target ("rs" )
101+ assert t_rune .format == "html"
102+ assert t_rune .platform == "runestone"
103+ assert t_rune .output_dir_abspath ().resolve ().relative_to (
104+ project .abspath ()
105+ ) == Path ("output/rs " )
106106
107107 assert not project .has_target ("foo" )
108108
@@ -121,10 +121,10 @@ def test_manifest_simple_build(tmp_path: Path) -> None:
121121 assert (prj_path / "output" / "web" / "index.html" ).exists ()
122122 project .get_target ("rs" ).build ()
123123 assert (
124- prj_path / "published " / "runestone-document-id " / "index.html"
124+ prj_path / "output " / "rs " / "index.html"
125125 ).exists ()
126126 assert (
127- prj_path / "published " / "runestone-document-id " / "runestone-manifest.xml"
127+ prj_path / "output " / "rs " / "runestone-manifest.xml"
128128 ).exists ()
129129 if HAS_XELATEX :
130130 project .get_target ("print" ).build ()
You can’t perform that action at this time.
0 commit comments