diff options
-rw-r--r-- | cherrypy/test/test_static.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cherrypy/test/test_static.py b/cherrypy/test/test_static.py index f0757b15..28fbce05 100644 --- a/cherrypy/test/test_static.py +++ b/cherrypy/test/test_static.py @@ -99,9 +99,8 @@ class StaticTest(helper.CPWebCase): @cherrypy.expose def serve_file_utf8_filename(self): - file_path = os.path.join(curdir, 'style.css') return static.serve_file( - file_path, + __file__, disposition='attachment', name='has_utf-8_character_☃.html') |