| Index: testing_support/gerrit_test_case.py
|
| diff --git a/testing_support/gerrit_test_case.py b/testing_support/gerrit_test_case.py
|
| index 087d0e18c5083d2a2d05ccb02043ca1df59cd5dd..9d5f643f395633cca94b71780609900ba1ecf1e3 100644
|
| --- a/testing_support/gerrit_test_case.py
|
| +++ b/testing_support/gerrit_test_case.py
|
| @@ -155,7 +155,7 @@ class GerritTestCase(unittest.TestCase):
|
| """Sets up the gerrit instances in a class-specific temp dir."""
|
| # Create gerrit instance.
|
| gerrit_dir = tempfile.mkdtemp()
|
| - os.chmod(gerrit_dir, 0700)
|
| + os.chmod(gerrit_dir, 0o0700)
|
| gi = cls.gerrit_instance = cls._create_gerrit_instance(gerrit_dir)
|
|
|
| # Set netrc file for http authentication.
|
| @@ -188,7 +188,7 @@ class GerritTestCase(unittest.TestCase):
|
|
|
| def setUp(self):
|
| self.tempdir = tempfile.mkdtemp()
|
| - os.chmod(self.tempdir, 0700)
|
| + os.chmod(self.tempdir, 0o0700)
|
|
|
| def tearDown(self):
|
| if TEARDOWN:
|
|
|