Skip to content

Commit

Permalink
Issue #51: Added failing test for full_url method for media files
Browse files Browse the repository at this point in the history
  • Loading branch information
navilan committed Jun 19, 2011
1 parent 71d78d8 commit 739bc3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hyde/tests/test_site.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@ def test_full_url_for_media(self):
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):
Expand Down

0 comments on commit 739bc3b

Please sign in to comment.