[test] [fix]
This commit is contained in:
parent
78607beeee
commit
96948310f2
2 changed files with 4 additions and 2 deletions
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -11,4 +11,6 @@
|
|||
.print-format th {
|
||||
background-color: #eee !important;
|
||||
border-bottom: 0px !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* modern format: don't remove this line */
|
||||
Loading…
Add table
Reference in a new issue