# HG changeset patch # User Ludovic Chabant # Date 1408474269 25200 # Node ID 7e44f6092a1d05fc39eefd256745177d48cdccae # Parent 19f3ac27c3d5f1f805ad3dd570de3040f85d52ee More unit tests for output bake paths. diff -r 19f3ac27c3d5 -r 7e44f6092a1d tests/test_baking_baker.py --- a/tests/test_baking_baker.py Tue Aug 19 11:50:51 2014 -0700 +++ b/tests/test_baking_baker.py Tue Aug 19 11:51:09 2014 -0700 @@ -14,6 +14,8 @@ ('foo/bar', 2, True, 'foo/bar/2/index.html'), ('foo.ext', 1, True, 'foo.ext/index.html'), ('foo.ext', 2, True, 'foo.ext/2/index.html'), + ('foo/bar.ext', 1, True, 'foo/bar.ext/index.html'), + ('foo/bar.ext', 2, True, 'foo/bar.ext/2/index.html'), ('foo.bar.ext', 1, True, 'foo.bar.ext/index.html'), ('foo.bar.ext', 2, True, 'foo.bar.ext/2/index.html'), # Ugly URLs @@ -25,6 +27,8 @@ ('foo/bar', 2, False, 'foo/bar/2.html'), ('foo.ext', 1, False, 'foo.ext'), ('foo.ext', 2, False, 'foo/2.ext'), + ('foo/bar.ext', 1, False, 'foo/bar.ext'), + ('foo/bar.ext', 2, False, 'foo/bar/2.ext'), ('foo.bar.ext', 1, False, 'foo.bar.ext'), ('foo.bar.ext', 2, False, 'foo.bar/2.ext') ])