Update cherrpy to 17.4.2
This commit is contained in:
14
lib/cherrypy/test/test_plugins.py
Normal file
14
lib/cherrypy/test/test_plugins.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from cherrypy.process import plugins
|
||||
|
||||
|
||||
__metaclass__ = type
|
||||
|
||||
|
||||
class TestAutoreloader:
|
||||
def test_file_for_file_module_when_None(self):
|
||||
"""No error when module.__file__ is None.
|
||||
"""
|
||||
class test_module:
|
||||
__file__ = None
|
||||
|
||||
assert plugins.Autoreloader._file_for_file_module(test_module) is None
|
Reference in New Issue
Block a user