• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

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

allura


Commit MetaInfo

Revisión0c386898891109c63da886e560e7cbcf13437c6c (tree)
Tiempo2012-05-15 00:09:11
AutorCory Johns <johnsca@geek...>
CommiterYaroslav Luzin

Log Message

[#4115] Fixed failing test

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

Cambiar Resumen

Diferencia incremental

--- 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