• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

allura


Commit MetaInfo

Revision0139f6bb890c427cb7dfd620f5dc0d5d4945ee84 (tree)
Zeit2012-05-08 04:29:16
AutorCory Johns <johnsca@geek...>
CommiterCory Johns

Log Message

[#4115] Fixed failing test

Signed-off-by: Cory Johns <johnsca@geek.net>

Ändern Zusammenfassung

Diff

--- a/ForgeGit/forgegit/tests/functional/test_controllers.py
+++ b/ForgeGit/forgegit/tests/functional/test_controllers.py
@@ -1,4 +1,5 @@
11 import json
2+import re
23
34 import tg
45 import pkg_resources
@@ -174,5 +175,5 @@ class TestRootController(TestController):
174175 ci = self._get_ci()
175176 resp = self.app.get(ci + 'tree/README?force=True')
176177 content = str(resp.html.find('div',{'class':'clip grid-19'}))
177- assert '<pre>This is readme' in content, content
178+ assert re.search(r'<pre>.*This is readme', content), content
178179 assert '</pre>' in content, content