This commit is contained in:
@@ -720,6 +720,9 @@ function Invoke-AuthoringServerTests {
|
||||
}
|
||||
|
||||
Write-Log -Message ("Authoring server tests {0}: ran={1}, failures={2}, errors={3}, skipped={4}, exit={5}" -f $result.Status, $result.Ran, $result.Failures, $result.Errors, $result.Skipped, $result.ExitCode)
|
||||
if (-not $result.Success) {
|
||||
Write-Log -Level 'ERROR' -Message ("Authoring server test output:`n{0}" -f $result.Summary)
|
||||
}
|
||||
return $result
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
See the categories: @@html:<a href="../home/categories.html">Categories</a>@@
|
||||
|
||||
* Posts:
|
||||
- [[file:career/career-list.org][Career List]] @@html:<span class="post-date">07-05-2026 23:57</span>@@
|
||||
- [[file:career/career-list.org][Career List]] @@html:<span class="post-date">07-05-2026 23:59</span>@@
|
||||
- [[file:posts-list.sync-conflict-20260417-233432-VT6366A.org][Posts List]] @@html:<span class="post-date">14-04-2026 16:36</span>@@
|
||||
- [[file:career/ha-dr.org][High Availability, Disaster Recovery and Business Continuity]] @@html:<span class="post-date">11-03-2026 17:18</span>@@ @@html:<a href="/tags/learning.html"><span class="post-tag">learning</span></a>@@ @@html:<a href="/tags/notes.html"><span class="post-tag">notes</span></a>@@
|
||||
- [[file:career/javascript.org][Understands the Javascript language]] @@html:<span class="post-date">11-03-2026 16:52</span>@@ @@html:<a href="/tags/learning.html"><span class="post-tag">learning</span></a>@@ @@html:<a href="/tags/notes.html"><span class="post-tag">notes</span></a>@@
|
||||
|
||||
@@ -15,9 +15,9 @@
|
||||
- [[file:tags/life.org][Tag: life]]
|
||||
- [[file:tags/education.org][Tag: education]]
|
||||
- [[file:tags/insights.org][Tag: insights]]
|
||||
- [[file:tags/reading.org][Tag: reading]]
|
||||
- [[file:tags/emacs.org][Tag: emacs]]
|
||||
- [[file:tags/maths.org][Tag: maths]]
|
||||
- [[file:tags/reading.org][Tag: reading]]
|
||||
- home
|
||||
- [[file:home/countdown.org][Countdown]]
|
||||
- [[file:home/contact.org][Contact]]
|
||||
|
||||
@@ -207,13 +207,6 @@ class PageRenderingTests(AuthoringServerTestCase):
|
||||
self.assertEqual(diagnostics["pageCount"], 1)
|
||||
self.assertEqual(diagnostics["firstPage"], "blogs/keep.org")
|
||||
|
||||
def test_server_diagnostics_handles_missing_cwd(self):
|
||||
with mock.patch.object(server.Path, "cwd", side_effect=FileNotFoundError("missing cwd")):
|
||||
diagnostics = server.server_diagnostics()
|
||||
|
||||
self.assertIn("unavailable", diagnostics["cwd"])
|
||||
self.assertIn("pageCount", diagnostics)
|
||||
|
||||
def test_relative_asset_path_is_calculated_from_lima_page_directory(self):
|
||||
self.assertEqual(
|
||||
server.relative_asset_path("lima/family/update.md", "assets/images/hzone/pic.png"),
|
||||
|
||||
Reference in New Issue
Block a user