allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kentontay...@apache.org
Subject [allura] branch master updated: [#8370] minor test fixes
Date Thu, 09 Jul 2020 14:27:12 GMT
This is an automated email from the ASF dual-hosted git repository.

kentontaylor 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 d712143  [#8370] minor test fixes
d712143 is described below

commit d712143005e137b05e1c008cd5844678e26fb925
Author: Kenton Taylor <ktaylor@slashdotmedia.com>
AuthorDate: Thu Jul 9 14:27:01 2020 +0000

    [#8370] minor test fixes
---
 Allura/allura/tests/functional/test_site_admin.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Allura/allura/tests/functional/test_site_admin.py b/Allura/allura/tests/functional/test_site_admin.py
index bb9944c..05fcc5e 100644
--- a/Allura/allura/tests/functional/test_site_admin.py
+++ b/Allura/allura/tests/functional/test_site_admin.py
@@ -448,7 +448,7 @@ class TestUsersSearch(TestController):
 class TestUserDetails(TestController):
 
     def test_404(self):
-        self.app.get('/nf/admin/user/does-not-exist/', status=404)
+        self.app.get('/nf/admin/user/does-not-exist', status=404)
 
     def test_general_info(self):
         user = M.User.by_username('test-admin')
@@ -459,7 +459,7 @@ class TestUserDetails(TestController):
                             'session_date': dt.datetime(2014, 9, 12, 6, 6, 6),
                             'session_ua': 'browser of the future 1.1',
                             'session_ip': '7.7.7.7'}
-        r = self.app.get('/nf/admin/user/test-admin/')
+        r = self.app.get('/nf/admin/user/test-admin')
         # general info
         assert_in('Username: test-admin', r)
         assert_in('Full name: Test Admin', r)


Mime
View raw message