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

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


The following commit(s) were added to refs/heads/db/8372 by this push:
     new 7f732e7  fixup! [#8372] misc site admin improvements:
7f732e7 is described below

commit 7f732e71111b5548f1d4197745e273b01a2bf57f
Author: Dave Brondsema <d...@brondsema.net>
AuthorDate: Mon Aug 3 11:02:25 2020 -0400

    fixup! [#8372] misc site admin improvements:
---
 Allura/allura/tests/functional/test_neighborhood.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Allura/allura/tests/functional/test_neighborhood.py 
b/Allura/allura/tests/functional/test_neighborhood.py
index a302ec1..8755336 100644
--- a/Allura/allura/tests/functional/test_neighborhood.py
+++ b/Allura/allura/tests/functional/test_neighborhood.py
@@ -938,8 +938,7 @@ class TestNeighborhood(TestController):
     def test_profile_tools(self):
         r = self.app.get('/u/test-user/',
                          
extra_environ=dict(username=str('test-user'))).follow()
-        assert r.html.find('div', 'profile-section tools').find(
-            'a', href='/u/test-user/profile/'), r.html
+        assert r.html.select('div.profile-section.tools 
a[href="/u/test-user/profile/"]'), r.html
 
     def test_user_project_creates_on_demand(self):
         M.User.register(dict(username='donald-duck'), make_project=False)

Reply via email to