Skip to content

Commit 16c639c

Browse files
committed
fix rs tests
1 parent 73e9aa1 commit 16c639c

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

tests/test_project.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff 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()

0 commit comments

Comments
 (0)