You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by gc...@apache.org on 2022/09/02 15:26:54 UTC

[allura] branch master updated: test fix

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 75a2dacd4 test fix
75a2dacd4 is described below

commit 75a2dacd43325083794471ce65764505a0f93437
Author: Guillermo Cruz <gu...@slashdotmedia.com>
AuthorDate: Fri Sep 2 09:26:46 2022 -0600

    test fix
---
 ForgeSVN/forgesvn/tests/functional/test_controllers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ForgeSVN/forgesvn/tests/functional/test_controllers.py b/ForgeSVN/forgesvn/tests/functional/test_controllers.py
index 66f072206..1644b20cc 100644
--- a/ForgeSVN/forgesvn/tests/functional/test_controllers.py
+++ b/ForgeSVN/forgesvn/tests/functional/test_controllers.py
@@ -180,7 +180,7 @@ class TestRootController(SVNTestController):
 
     def test_file(self):
         resp = self.app.get('/src/1/tree/README')
-        assert 'README' in resp.html.find('h2', {'class': 'dark title'}).contents[4]
+        assert 'README' in resp.html.find('h2', {'class': 'dark title'}).find('span').contents[4]
         content = str(resp.html.find('div', {'class': 'clip grid-19 codebrowser'}))
         assert 'This is readme' in content, content
         assert '<span id="l1" class="code_block">' in resp