diff tests/test_sources_base.py @ 241:85a6c7ba5e3b

tests: Fix tests for base sources.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 16 Feb 2015 08:25:08 -0800
parents 8d16ca75075f
children f130365568ff
line wrap: on
line diff
--- a/tests/test_sources_base.py	Sun Feb 15 23:29:51 2015 -0800
+++ b/tests/test_sources_base.py	Mon Feb 16 08:25:08 2015 -0800
@@ -36,7 +36,7 @@
         facs = list(s.buildPageFactories())
         paths = [f.rel_path for f in facs]
         assert paths == expected_paths
-        slugs = [f.metadata['path'] for f in facs]
+        slugs = [f.metadata['slug'] for f in facs]
         assert slugs == expected_slugs