Esempio n. 1
0
 def test_importance_below_1(self):
     text = Bookmark.string_representation_of_importance(0.1)
     assert text == ''
Esempio n. 2
0
 def test_importance_float(self):
     text = Bookmark.string_representation_of_importance(2.31)
     assert text == "<span style='font-size:8pt'>|</span><span style='font-size:7pt'>|</span>"