mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 06:16:03 +00:00
delete unused variable in test_invalid_variable_double_definition()
Acked-by: Kshitij Gupta <kgupta8592@gmail.com>
This commit is contained in:
@@ -153,7 +153,6 @@ class SeverityVarsTest(SeverityBaseTest):
|
||||
self._init_tunables('@{invalid} += /home/')
|
||||
|
||||
def test_invalid_variable_double_definition(self):
|
||||
invalid_add = '@{foo} = /home/\n@{foo} = /root/'
|
||||
with self.assertRaises(AppArmorException):
|
||||
self._init_tunables('@{foo} = /home/\n@{foo} = /root/')
|
||||
|
||||
|
Reference in New Issue
Block a user