def test_only_major_dots_no_labels():
 line = Line(show_only_major_dots=True)
 line.add('test', range(12))
 q = line.render_pyquery()
 assert (len(q('.dots')) == 12)

def test_only_major_dots_no_labels ( ) : line = Line ( show_only_major_dots = True ) line . add ( 'test' , range ( 12 ) ) q = line . render_pyquery ( ) assert ( len ( q ( '.dots' ) ) == 12 )
test major dots with no labels .