def check_gpaths(self): local_path = minrelpath(os.path.join(os.path.dirname(__file__), '..')) ls = gpaths('command/*.py', local_path) assert os.path.join(local_path, 'command', 'build_src.py') in ls, ` ls ` f = gpaths('system_info.py', local_path) assert os.path.join(local_path, 'system_info.py') == f[0], ` f `
def test_gpaths(self): local_path = minrelpath(join(dirname(__file__), '..')) ls = gpaths('command/*.Dockerfile', local_path) assert_( join(local_path, 'command', 'build_src.Dockerfile') in ls, repr(ls)) f = gpaths('system_info.Dockerfile', local_path) assert_(join(local_path, 'system_info.Dockerfile') == f[0], repr(f))
def test_gpaths(self): local_path = minrelpath(join(dirname(__file__),'..')) ls = gpaths('command/*.py', local_path) assert join(local_path,'command','build_src.py') in ls,`ls` f = gpaths('system_info.py', local_path) assert join(local_path,'system_info.py')==f[0],`f`
def test_gpaths(self): local_path = minrelpath(join(dirname(__file__), "..")) ls = gpaths("command/*.py", local_path) assert_(join(local_path, "command", "build_src.py") in ls, ` ls `) f = gpaths("system_info.py", local_path) assert_(join(local_path, "system_info.py") == f[0], ` f `)
def test_gpaths(self): local_path = minrelpath(join(dirname(__file__), '..')) ls = gpaths('command/*.py', local_path) assert_(join(local_path, 'command', 'build_src.py') in ls, ` ls `) f = gpaths('system_info.py', local_path) assert_(join(local_path, 'system_info.py') == f[0], ` f `)
def test_gpaths(self): local_path = minrelpath(join(dirname(__file__), "..")) ls = gpaths("command/*.py", local_path) assert_(join(local_path, "command", "build_src.py") in ls, repr(ls)) f = gpaths("system_info.py", local_path) assert_(join(local_path, "system_info.py") == f[0], repr(f))