You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by di...@apache.org on 2023/03/20 16:36:58 UTC

[allura] branch master updated: fixup! fix failing trac wiki tests that were previously unused and apparently wrong

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

dill0wn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git


The following commit(s) were added to refs/heads/master by this push:
     new a09c33ff9 fixup! fix failing trac wiki tests that were previously unused and apparently wrong
a09c33ff9 is described below

commit a09c33ff9ae89c1350c60551dc8f1b78cca80868
Author: Dillon Walls <di...@slashdotmedia.com>
AuthorDate: Mon Mar 20 16:36:42 2023 +0000

    fixup! fix failing trac wiki tests that were previously unused and apparently wrong
---
 ForgeImporters/forgeimporters/trac/tests/test_tickets.py | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/ForgeImporters/forgeimporters/trac/tests/test_tickets.py b/ForgeImporters/forgeimporters/trac/tests/test_tickets.py
index ccc04c5d3..9f975c78c 100644
--- a/ForgeImporters/forgeimporters/trac/tests/test_tickets.py
+++ b/ForgeImporters/forgeimporters/trac/tests/test_tickets.py
@@ -193,18 +193,6 @@ class TestTracTicketImportController(TestController, TestCase):
         r = self.app.post('/p/test/admin/ext/import/trac-tickets/create', params, status=200)
         self.assertIn('Invalid URL', r.text)
 
-    @with_wiki
-    @patch('forgeimporters.trac.requests.head')
-    @patch('forgeimporters.base.import_tool')
-    def test_url_wiki_import_fail(self, import_tool, head):
-        head.return_value.status_code = 200
-        params = dict(trac_url=f'{config["base_url"]}/trac/url',
-                      mount_label='mylabel',
-                      mount_point='mymount')
-        r = self.app.post('/p/test/admin/ext/import/trac-wiki/create', params, status=200)
-        self.assertIn('Invalid URL', r.text)
-
-
 class TestTracImportSupport(TestCase):
 
     def test_link_processing(self):