From 8c0fe8de026016dd26bd6c23d8079f3e597b81a7 Mon Sep 17 00:00:00 2001 From: Michal Arbet Date: Thu, 2 Jul 2026 16:24:16 +0200 Subject: Remove redundant permission parsing tests The removed Python octal notation test is already covered by test_handle_permissions_accepts_valid_permission_notations, which includes 0o2775. Change-Id: Ia25d10a6ff3608e2a38d1a88bf229fe3f96d19ee Signed-off-by: Michal Arbet --- tests/test_set_config.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests') diff --git a/tests/test_set_config.py b/tests/test_set_config.py index 45f71bdd4..dfd5f2fbf 100644 --- a/tests/test_set_config.py +++ b/tests/test_set_config.py @@ -1161,10 +1161,6 @@ class HandlePermissionsPermParsingTest(base.BaseTestCase): with self.subTest(input_perm=input_perm): self._assert_permission(input_perm, expected_perm) - def test_handle_permissions_accepts_python_octal_notation(self): - """Test Python octal permission notation.""" - self._assert_permission('0o2775', 0o2775) - def test_handle_permissions_adds_execute_bits_for_directories(self): """Test execute bits are added to readable directories.""" self._assert_permission('0644', 0o755, is_dir=True) -- cgit v1.2.3