示例#1
0
def test_module_name_scenario_2():
    class TestClass2:
        pass

    info = PluginInfo('renderer', custom='property')
    info.cls = TestClass2
    eq_(info.module_name, 'test_plugin_info')
示例#2
0
def test_module_name_scenario_2():
    class TestClass2:
        pass

    info = PluginInfo("renderer", custom="property")
    info.cls = TestClass2
    eq_(info.module_name, "test_plugin_info")