summaryrefslogtreecommitdiff
path: root/src/mailman/app/tests/test_lifecycle.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/app/tests/test_lifecycle.py')
-rw-r--r--src/mailman/app/tests/test_lifecycle.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mailman/app/tests/test_lifecycle.py b/src/mailman/app/tests/test_lifecycle.py
index 4a85cd229..f504e3dfd 100644
--- a/src/mailman/app/tests/test_lifecycle.py
+++ b/src/mailman/app/tests/test_lifecycle.py
@@ -44,6 +44,7 @@ class TestLifecycle(unittest.TestCase):
self.assertRaises(BadDomainSpecificationError,
create_list, 'test@nodomain.example.org')
+ @unittest.skipIf(os.getuid() == 0, 'Cannot run as root')
def test_remove_list_error(self):
# An error occurs while deleting the list's data directory.
mlist = create_list('test@example.com')