def test_module_load_from_file_fail(self):
        try:
            plugin_path = os.path.join(SRC_ROOT, 'plugin/sampleplugin.py')
            plugin_loader.register_plugin(LoaderTest.DummyPlugin, plugin_path)
            self.assertTrue(False, 'Import error is expected.')
        except __HOLE__:
            self.assertTrue(True)
dataset/ETHPy150Open StackStorm/st2/st2common/tests/unit/test_plugin_loader.py/LoaderTest.test_module_load_from_file_fail