diff options
author | Barry Warsaw <barry@python.org> | 2015-01-21 15:35:56 -0500 |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2015-01-21 15:35:56 -0500 |
commit | cccc0ff012d2e7b5c238609b22cc064b519e54a5 (patch) | |
tree | 1ca463be706ede0f0b3f0d967f67de79d13e5793 /tests/unittests/test__init__.py | |
parent | 463d626ba53e54160f350d84831e1877b24f4024 (diff) | |
download | vyos-cloud-init-cccc0ff012d2e7b5c238609b22cc064b519e54a5.tar.gz vyos-cloud-init-cccc0ff012d2e7b5c238609b22cc064b519e54a5.zip |
Fix file modes to be Python 2/3 compatible.
Diffstat (limited to 'tests/unittests/test__init__.py')
-rw-r--r-- | tests/unittests/test__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/test__init__.py b/tests/unittests/test__init__.py index 17965488..48db1a5e 100644 --- a/tests/unittests/test__init__.py +++ b/tests/unittests/test__init__.py @@ -48,7 +48,7 @@ class TestWalkerHandleHandler(MockerTestCase): # Mock the write_file function write_file_mock = self.mocker.replace(util.write_file, passthrough=False) - write_file_mock(expected_file_fullname, self.payload, 0600) + write_file_mock(expected_file_fullname, self.payload, 0o600) def test_no_errors(self): """Payload gets written to file and added to C{pdata}.""" |