allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [allura] 01/03: [#8375] fix ForgeFeedback file permissions so tests are runnable by nosetests; fix tests
Date Mon, 24 Aug 2020 21:22:04 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit 9b0f7a10bcfd930626197f7930236d66f9f3e62b
Author: Dave Brondsema <dave@brondsema.net>
AuthorDate: Mon Aug 24 14:49:37 2020 -0400

    [#8375] fix ForgeFeedback file permissions so tests are runnable by nosetests; fix tests
---
 ForgeFeedback/forgefeedback/__init__.py                        | 0
 ForgeFeedback/forgefeedback/feedback_main.py                   | 0
 ForgeFeedback/forgefeedback/model/__init__.py                  | 0
 ForgeFeedback/forgefeedback/model/feedback.py                  | 0
 ForgeFeedback/forgefeedback/templates/__init__.py              | 0
 ForgeFeedback/forgefeedback/tests/__init__.py                  | 0
 ForgeFeedback/forgefeedback/tests/functional/__init__.py       | 0
 ForgeFeedback/forgefeedback/tests/functional/test_root.py      | 2 ++
 ForgeFeedback/forgefeedback/tests/test_feedback_roles.py       | 0
 ForgeFeedback/forgefeedback/tests/unit/__init__.py             | 0
 ForgeFeedback/forgefeedback/tests/unit/test_feedback.py        | 0
 ForgeFeedback/forgefeedback/tests/unit/test_root_controller.py | 0
 ForgeFeedback/forgefeedback/version.py                         | 0
 ForgeFeedback/setup.py                                         | 0
 14 files changed, 2 insertions(+)

diff --git a/ForgeFeedback/forgefeedback/__init__.py b/ForgeFeedback/forgefeedback/__init__.py
old mode 100755
new mode 100644
diff --git a/ForgeFeedback/forgefeedback/feedback_main.py b/ForgeFeedback/forgefeedback/feedback_main.py
old mode 100755
new mode 100644
diff --git a/ForgeFeedback/forgefeedback/model/__init__.py b/ForgeFeedback/forgefeedback/model/__init__.py
old mode 100755
new mode 100644
diff --git a/ForgeFeedback/forgefeedback/model/feedback.py b/ForgeFeedback/forgefeedback/model/feedback.py
old mode 100755
new mode 100644
diff --git a/ForgeFeedback/forgefeedback/templates/__init__.py b/ForgeFeedback/forgefeedback/templates/__init__.py
old mode 100755
new mode 100644
diff --git a/ForgeFeedback/forgefeedback/tests/__init__.py b/ForgeFeedback/forgefeedback/tests/__init__.py
old mode 100755
new mode 100644
diff --git a/ForgeFeedback/forgefeedback/tests/functional/__init__.py b/ForgeFeedback/forgefeedback/tests/functional/__init__.py
old mode 100755
new mode 100644
diff --git a/ForgeFeedback/forgefeedback/tests/functional/test_root.py b/ForgeFeedback/forgefeedback/tests/functional/test_root.py
old mode 100755
new mode 100644
index ab9852b..cbd4477
--- a/ForgeFeedback/forgefeedback/tests/functional/test_root.py
+++ b/ForgeFeedback/forgefeedback/tests/functional/test_root.py
@@ -51,12 +51,14 @@ class TestFeedback(TestController):
 
     def test_create_feedback(self):
         resp = post_feedback(self)
+        resp = resp.follow()
         assert_in('Good tool', resp)
 
     def test_edit_feedback(self):
         post_feedback(self)
         data = {'rating': '2', 'description': 'Not useful'}
         resp = self.app.post('/p/test/feedback/edit_user_review', data)
+        resp = resp.follow()
         assert_in('Not useful', resp)
 
     def test_delete_feedback(self):
diff --git a/ForgeFeedback/forgefeedback/tests/test_feedback_roles.py b/ForgeFeedback/forgefeedback/tests/test_feedback_roles.py
old mode 100755
new mode 100644
diff --git a/ForgeFeedback/forgefeedback/tests/unit/__init__.py b/ForgeFeedback/forgefeedback/tests/unit/__init__.py
old mode 100755
new mode 100644
diff --git a/ForgeFeedback/forgefeedback/tests/unit/test_feedback.py b/ForgeFeedback/forgefeedback/tests/unit/test_feedback.py
old mode 100755
new mode 100644
diff --git a/ForgeFeedback/forgefeedback/tests/unit/test_root_controller.py b/ForgeFeedback/forgefeedback/tests/unit/test_root_controller.py
old mode 100755
new mode 100644
diff --git a/ForgeFeedback/forgefeedback/version.py b/ForgeFeedback/forgefeedback/version.py
old mode 100755
new mode 100644
diff --git a/ForgeFeedback/setup.py b/ForgeFeedback/setup.py
old mode 100755
new mode 100644


Mime
View raw message