@@ -0,0 +1,572 @@
+from unittest import TestCase%0Afrom .utils import staticFile, render%0Aimport bottle%0A%0Aclass TestUtils(TestCase):%0A%0A    def test_staticFile(self):%0A        sf = staticFile('w3.css')%0A        self.assertIsInstance(sf, bottle.HTTPResponse)%0A        self.assertEqual(sf.status_code, 200)%0A        self.assertEqual(sf.charset, 'UTF-8')%0A        self.assertEqual(sf.content_length, 29467)%0A        self.assertEqual(sf.content_type, 'text/css; charset=UTF-8')%0A%0A    def test_staticFileNotFound(self):%0A        sf = staticFile('w3.cssNOT_FOUND')%0A        self.assertEqual(sf.status_code, 404)%0A

test utils staticFile