allura
Revision | b77da7e7e5c6e0a1674a184bf2debed8bfd7771c (tree) |
---|---|
Zeit | 2012-05-08 23:56:28 |
Autor | Cory Johns <johnsca@geek...> |
Commiter | Cory Johns |
[#4115] Fixed failing validation tests
Signed-off-by: Cory Johns <johnsca@geek.net>
@@ -126,7 +126,7 @@ class TestRootController(TestController): | ||
126 | 126 | assert 'README' in resp.html.find('h2',{'class':'dark title'}).contents[2] |
127 | 127 | content = str(resp.html.find('div',{'class':'clip grid-19'})) |
128 | 128 | assert 'This is readme' in content, content |
129 | - assert '<div id="l1" class="code_block">' in resp | |
129 | + assert '<span id="l1" class="code_block">' in resp | |
130 | 130 | assert 'var hash = window.location.hash.substring(1);' in resp |
131 | 131 | |
132 | 132 | def test_invalid_file(self): |
@@ -76,7 +76,7 @@ class TestRootController(TestController): | ||
76 | 76 | assert 'README' in resp.html.find('h2',{'class':'dark title'}).contents[2] |
77 | 77 | content = str(resp.html.find('div',{'class':'clip grid-19'})) |
78 | 78 | assert 'This is readme' in content, content |
79 | - assert '<div id="l1" class="code_block">' in resp | |
79 | + assert '<span id="l1" class="code_block">' in resp | |
80 | 80 | assert 'var hash = window.location.hash.substring(1);' in resp |
81 | 81 | |
82 | 82 | def test_invalid_file(self): |