[Kimchi-devel] [PATCH v2 2/2] Update config test to expect robots.txt.

Julien Goodwin jgoodwin at studio442.com.au
Mon Jan 19 23:21:21 UTC 2015


---
 tests/test_config.py.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/test_config.py.in b/tests/test_config.py.in
index daf42b6..6990942 100644
--- a/tests/test_config.py.in
+++ b/tests/test_config.py.in
@@ -180,6 +180,10 @@ class ConfigTests(unittest.TestCase):
                 'tools.staticfile.filename':
                 '%s/images/logo.ico' % paths.ui_dir
             },
+            '/robots.txt': {
+                'tools.staticfile.on': True,
+                'tools.staticfile.filename': '%s/robots.txt' % paths.ui_dir
+            },
             '/help': {
                 'tools.staticdir.on': True,
                 'tools.staticdir.dir': '%s/ui/pages/help' % paths.prefix,
-- 
2.1.4




More information about the Kimchi-devel mailing list