def testSugidTest1(self):

        recipestr1 = """
class TestSugid(PackageRecipe):
    name = 'test'
    version = '0'
    clearBuildReqs()
    
    def setup(self):
        self.Create('%(essentialbindir)s/a', mode=06755)
"""
        self.reset()
        (built, d) = self.buildRecipe(recipestr1, "TestSugid")
        self.mimicRoot()
        for p in built:
            self.updatePkg(self.workDir, p[0], p[1])
        self.realRoot()
        a = os.lstat(util.joinPaths(self.workDir, 'bin/a'))
        assert (a.st_mode & 07777 == 06755)
Run before each test.
dataset/ETHPy150Open sassoftware/conary/conary_test/cvctest/buildtest/buildtest.py/SugidTest.testSugidTest1--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/unit/api/openstack/compute/test_limits.py/LimiterTest.setUp