mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-30 05:18:51 -06:00
refactor: site modules into the sitegen package
This commit is contained in:
1 parent
29f5c48a2c
commit
206dae3163
57 files changed
+98
-97
No files matched your search
@@ -39,7 +39,7 @@ class ProsePlaceholders(unittest.TestCase):
|
||||
"""A path written with angle brackets reaches the reader as written."""
|
||||
|
||||
def test_a_placeholder_is_text_not_a_tag(self):
|
||||
from siterender import _admonition_body, _escape_tags
|
||||
from sitegen.render import _admonition_body, _escape_tags
|
||||
|
||||
self.assertEqual(
|
||||
_escape_tags("gameProfiles/<title id>.ini under <system_dir>/Cemu"),
|
||||
@@ -48,7 +48,7 @@ class ProsePlaceholders(unittest.TestCase):
|
||||
self.assertIn("<title id>", _admonition_body("read <title id>.ini"))
|
||||
|
||||
def test_code_spans_and_links_are_left_alone(self):
|
||||
from siterender import _escape_tags
|
||||
from sitegen.render import _escape_tags
|
||||
|
||||
self.assertEqual(_escape_tags("`<system_dir>/x`"), "`<system_dir>/x`")
|
||||
self.assertEqual(_escape_tags("see <https://example.org/a>"), "see <https://example.org/a>")
|
||||
|
||||
Reference in new issue
Block a user