From 739bc3b48aff17faa32133936895bfe4ab0cba83 Mon Sep 17 00:00:00 2001 From: Lakshmi Vyasarajan Date: Sun, 19 Jun 2011 14:11:23 +0530 Subject: [PATCH] Issue #51: Added failing test for full_url method for media files --- hyde/tests/test_site.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hyde/tests/test_site.py b/hyde/tests/test_site.py index a64b7b9..947aa3e 100644 --- a/hyde/tests/test_site.py +++ b/hyde/tests/test_site.py @@ -223,6 +223,8 @@ class TestSiteWithConfig(object): path = 'media/css/site.css' assert s.is_media(path) full_url = s.full_url(path) + print s.config.media_root_path + print File(path).get_relative_path(s.config.media_root_path) assert full_url == "/" + path def test_media_url_from_resource(self):