[test] [fix]

This commit is contained in:
Rushabh Mehta 2016-04-06 15:50:26 +05:30
parent 78607beeee
commit 96948310f2
2 changed files with 4 additions and 2 deletions

View file

@ -23,7 +23,7 @@ class TestPrintFormat(unittest.TestCase):
def test_print_user_modern(self):
print_html = self.test_print_user("Modern")
self.assertTrue(re.findall('th {[\s]*background-color: #eee !important;[\s]*}', print_html))
self.assertTrue("/* modern format: don't remove this line */" in print_html)
def test_print_user_classic(self):
print_html = self.test_print_user("Classic")

View file

@ -11,4 +11,6 @@
.print-format th {
background-color: #eee !important;
border-bottom: 0px !important;
}
}
/* modern format: don't remove this line */