def test_parse2(self, parser):
    args = parser.parse([py.path.local()])
    assert (getattr(args, parseopt.FILE_OR_DIR)[0] == py.path.local())
def test_parse2(self, parser):
    args = parser.parse([py.path.local()])
    assert (getattr(args, parseopt.FILE_OR_DIR)[0] == py.path.local())