def test_static_url(self): result = template_utils.static_url("images/rocket.png") self.assertEqual(result, "/static/images/rocket.png?v=7d7c26f")
def test_static_url_no_file(self): result = template_utils.static_url("url") self.assertEqual(result, "/static/url")