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

gcruz 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 774184775 [#8570] test updates
774184775 is described below

commit 774184775142bb4c2935f5d01ab4fb0d670f61d6
Author: Guillermo Cruz <[email protected]>
AuthorDate: Mon Nov 25 09:31:25 2024 -0700

    [#8570] test updates
---
 ForgeDiscussion/forgediscussion/tests/functional/test_forum.py | 2 +-
 ForgeImporters/forgeimporters/base.py                          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ForgeDiscussion/forgediscussion/tests/functional/test_forum.py 
b/ForgeDiscussion/forgediscussion/tests/functional/test_forum.py
index 4bbe6965b..7dd22f0b1 100644
--- a/ForgeDiscussion/forgediscussion/tests/functional/test_forum.py
+++ b/ForgeDiscussion/forgediscussion/tests/functional/test_forum.py
@@ -1001,7 +1001,7 @@ class TestForum(TestController):
             if field.id is None:
                 continue
             if 'attachment' in field.id:
-                form[field.name] = ('myfile.txt', b'foo bar baz')  # 
webtest.Upload dooesn't work here
+                form[field.name] = [('myfile.txt', b'foo bar baz')]  # 
webtest.Upload dooesn't work here
         r = form.submit().follow()
         assert 'myfile.txt' in r, r
 
diff --git a/ForgeImporters/forgeimporters/base.py 
b/ForgeImporters/forgeimporters/base.py
index db14405df..4b937d99e 100644
--- a/ForgeImporters/forgeimporters/base.py
+++ b/ForgeImporters/forgeimporters/base.py
@@ -376,7 +376,7 @@ class ToolImporterMeta(type):
         if not (hasattr(cls, 'target_app_ep_names')
                 or hasattr(cls, 'target_app')):
             raise AttributeError(f"{name} must define either `target_app` or 
`target_app_ep_names`")
-        return type.__init__(cls, name, bases, attrs)
+        type.__init__(cls, name, bases, attrs)
 
     def __call__(cls, *args, **kw):
         """ Right before the first instance of cls is created, get

Reply via email to