def testMakeDirsTest1(self):

        recipestr1 = """
class TestMakeDirs(PackageRecipe):
    name = 'test'
    version = '0'
    clearBuildReqs()
    
    def setup(self):
        self.MakeDirs('foo')
        self.Run('ls foo')
"""
        (built, d) = self.buildRecipe(recipestr1, "TestMakeDirs")

        recipestr2 = """
class TestMakeDirs(PackageRecipe):
    name = 'test'
    version = '0'
    clearBuildReqs()
    
    def setup(self):
        self.MakeDirs('/bar/blah')
        self.ExcludeDirectories(exceptions='/bar/blah')
"""
        self.reset()
        (built, d) = self.buildRecipe(recipestr2, "TestMakeDirs")
        for p in built:
            self.updatePkg(self.workDir, p[0], p[1])
        assert(stat.S_ISDIR(
            os.lstat(util.joinPaths(self.workDir, '/bar/blah'))[stat.ST_MODE]))
Test creating directories
dataset/ETHPy150Open sassoftware/conary/conary_test/cvctest/buildtest/buildtest.py/MakeDirsTest.testMakeDirsTest1