You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2020/06/18 15:42:03 UTC

[allura] 02/04: [#8363] in mim:// urls provide a host too

This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a commit to branch db/8363
in repository https://gitbox.apache.org/repos/asf/allura.git

commit a4d1b1774c8f254b145041f947db71a575d1b9e8
Author: Dave Brondsema <da...@brondsema.net>
AuthorDate: Mon Jun 1 12:35:07 2020 -0400

    [#8363] in mim:// urls provide a host too
---
 Allura/allura/tests/model/test_filesystem.py | 4 ++--
 Allura/allura/tests/test_multifactor.py      | 4 ++--
 Allura/allura/tests/test_utils.py            | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Allura/allura/tests/model/test_filesystem.py b/Allura/allura/tests/model/test_filesystem.py
index bdf84e4..c360896 100644
--- a/Allura/allura/tests/model/test_filesystem.py
+++ b/Allura/allura/tests/model/test_filesystem.py
@@ -46,8 +46,8 @@ class TestFile(TestCase):
 
     def setUp(self):
         config = {
-            'ming.main.uri': 'mim://allura',
-            'ming.project.uri': 'mim://project-data',
+            'ming.main.uri': 'mim://host/allura',
+            'ming.project.uri': 'mim://host/project-data',
         }
         ming.configure(**config)
         setup_unit_test()
diff --git a/Allura/allura/tests/test_multifactor.py b/Allura/allura/tests/test_multifactor.py
index e5e7834..3105a1f 100644
--- a/Allura/allura/tests/test_multifactor.py
+++ b/Allura/allura/tests/test_multifactor.py
@@ -180,7 +180,7 @@ class TestMongodbTotpService(TestAnyTotpServiceImplementation):
 
     def setUp(self):
         config = {
-            'ming.main.uri': 'mim://allura_test',
+            'ming.main.uri': 'mim://host/allura_test',
         }
         ming.configure(**config)
 
@@ -306,7 +306,7 @@ class TestMongodbRecoveryCodeService(TestAnyRecoveryCodeServiceImplementation):
 
     def setUp(self):
         config = {
-            'ming.main.uri': 'mim://allura_test',
+            'ming.main.uri': 'mim://host/allura_test',
         }
         ming.configure(**config)
 
diff --git a/Allura/allura/tests/test_utils.py b/Allura/allura/tests/test_utils.py
index 96273cb..24d324f 100644
--- a/Allura/allura/tests/test_utils.py
+++ b/Allura/allura/tests/test_utils.py
@@ -78,7 +78,7 @@ class TestChunkedIterator(unittest.TestCase):
     def setUp(self):
         setup_unit_test()
         config = {
-            'ming.main.uri': 'mim://allura_test',
+            'ming.main.uri': 'mim://host/allura_test',
         }
         ming.configure(**config)
         for i in range(10):