Index: testing_support/gerrit_test_case.py |
diff --git a/testing_support/gerrit_test_case.py b/testing_support/gerrit_test_case.py |
index 9d5f643f395633cca94b71780609900ba1ecf1e3..65c573b42b8d2866cc76937623e6bdbf36ae3382 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, 0o0700) |
+ os.chmod(gerrit_dir, 0o700) |
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, 0o0700) |
+ os.chmod(self.tempdir, 0o700) |
def tearDown(self): |
if TEARDOWN: |