mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
5c1998610f
commit
622306be96
@ -164,7 +164,7 @@ for x in EDGES:
|
|||||||
name = 'border-' + x
|
name = 'border-' + x
|
||||||
normalizers[name] = simple_normalizer(name, ('color', 'style', 'width'), check_inherit=False)
|
normalizers[name] = simple_normalizer(name, ('color', 'style', 'width'), check_inherit=False)
|
||||||
|
|
||||||
def test_normalization():
|
def test_normalization(): # {{{
|
||||||
import unittest
|
import unittest
|
||||||
from cssutils import parseStyle
|
from cssutils import parseStyle
|
||||||
|
|
||||||
@ -264,6 +264,7 @@ def test_normalization():
|
|||||||
|
|
||||||
tests = unittest.defaultTestLoader.loadTestsFromTestCase(TestNormalization)
|
tests = unittest.defaultTestLoader.loadTestsFromTestCase(TestNormalization)
|
||||||
unittest.TextTestRunner(verbosity=4).run(tests)
|
unittest.TextTestRunner(verbosity=4).run(tests)
|
||||||
|
# }}}
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
test_normalization()
|
test_normalization()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user