Ejemplo n.º 1
0
 def test_commonpath(self):
     res = magui.commonpath(["/etc/path", "/etc/common"])
     assert res == "/etc"
Ejemplo n.º 2
0
 def test_commonpath(self):
     res = magui.commonpath(['/etc/path', '/etc/common'])
     assert res == '/etc'