This commit is contained in:
tzangms
2013-12-09 02:39:03 +08:00
parent 441df35e8f
commit d95aad60fa

View File

@@ -48,10 +48,6 @@ class BootstrapTemplateTagTests(TestCase):
with open(os.path.join(TEST_DIR, tpl)) as f: with open(os.path.join(TEST_DIR, tpl)) as f:
content = f.read() content = f.read()
with open('/tmp/basic.html', 'w+') as f:
f.write(html)
self.maxDiff = True
self.assertHTMLEqual(html, content) self.assertHTMLEqual(html, content)
def test_horizontal_form(self): def test_horizontal_form(self):
@@ -63,5 +59,4 @@ class BootstrapTemplateTagTests(TestCase):
with open(os.path.join(TEST_DIR, tpl)) as f: with open(os.path.join(TEST_DIR, tpl)) as f:
content = f.read() content = f.read()
self.maxDiff = True
self.assertHTMLEqual(html, content) self.assertHTMLEqual(html, content)