summaryrefslogtreecommitdiff
path: root/mail/mailman3/files/patch-src_mailman_tests_test__configfile.py
blob: baf93b4dd1193bed892c2fb26e5dcf620f179125 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- src/mailman/tests/test_configfile.py.orig	2017-11-16 05:50:21 UTC
+++ src/mailman/tests/test_configfile.py
@@ -161,8 +161,8 @@ class TestConfigFileSearchWithChroot(TestConfigFileBas
                 self.assertEqual(search_for_configuration_file(), config_file)
 
     def test_etc_file(self):
-        # Test /etc/mailman.cfg
-        fake_etc = '/etc'
+        # Test /usr/local/etc/mailman.cfg
+        fake_etc = '/usr/local/etc'
         fake_testdir = self._make_fake(fake_etc)
         config_file = os.path.join(fake_etc, 'mailman.cfg')
         with fakedirs(fake_testdir):
@@ -172,8 +172,8 @@ class TestConfigFileSearchWithChroot(TestConfigFileBas
             self.assertEqual(search_for_configuration_file(), config_file)
 
     def test_etc_mailman3_file(self):
-        # Test /etc/mailman3/mailman.cfg
-        fake_etc = '/etc/mailman3'
+        # Test /usr/local/etc/mailman3/mailman.cfg
+        fake_etc = '/usr/local/etc/mailman3'
         fake_testdir = self._make_fake(fake_etc)
         config_file = os.path.join(fake_etc, 'mailman.cfg')
         with fakedirs(fake_testdir):