def test_core_load_plugins(config, expected): core = TankCore(configs=[ load_yaml(os.path.join(os.path.dirname(__file__), '../config'), '00-base.yaml'), config ]) core.load_plugins() assert set(core.plugins.keys()) == expected
def test_core_load_plugins(config, expected): core = TankCore([load_yaml(os.path.join(os.path.dirname(__file__), '../config'), '00-base.yaml'), config], threading.Event()) core.load_plugins() assert set(core.plugins.keys()) == expected
def test_core_load_plugins(config, expected): core = TankCore( [load_yaml(os.path.join(PATH, '../config'), '00-base.yaml'), config], threading.Event(), TankInfo({})) core.load_plugins() assert set(core.plugins.keys()) == expected