Add plugin load case-insensitivity test.

This commit is contained in:
Valentin Lorentz 2020-05-08 11:58:12 +02:00
parent f18eafc8d8
commit 0d89b2352b

View File

@ -35,9 +35,7 @@ class FunctionsTestCase(SupyTestCase):
def testLoadPluginModule(self): def testLoadPluginModule(self):
self.assertRaises(ImportError, plugin.loadPluginModule, 'asldj') self.assertRaises(ImportError, plugin.loadPluginModule, 'asldj')
self.assertTrue(plugin.loadPluginModule('Owner')) self.assertTrue(plugin.loadPluginModule('Owner'))
# I haven't yet figured out a way to get case-insensitivity back for self.assertTrue(plugin.loadPluginModule('owner'))
# "directoried" plugins.
#self.assertTrue(plugin.loadPluginModule('owner'))
# vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79: # vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79: