Barry Warsaw pushed to branch master at mailman / Mailman

Commits:
bd271d92 by Barry Warsaw at 2017-02-19T18:26:09-05:00
Skip a test if run as root, as can happen with GL shared runners

- - - - -
2e1ef4b3 by Barry Warsaw at 2017-02-19T23:58:17+00:00
Merge branch 'skipif-root' into 'master'

Skip a test if run as root, as can happen with GL shared runners

See merge request !250
- - - - -


1 changed file:

- src/mailman/app/tests/test_lifecycle.py


Changes:

=====================================
src/mailman/app/tests/test_lifecycle.py
=====================================
--- 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, 't...@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('t...@example.com')



View it on GitLab: 
https://gitlab.com/mailman/mailman/compare/a23f2cf7aa69ebdc08843db99a6a766bc7696797...2e1ef4b3d3f21a42c49f1a3d5b1e72feca2c92a6
_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to