def test_commonpath(self): res = magui.commonpath(["/etc/path", "/etc/common"]) assert res == "/etc"
def test_commonpath(self): res = magui.commonpath(['/etc/path', '/etc/common']) assert res == '/etc'