def test_one_dot():
 line = Line()
 line.add('one dot', [12])
 line.x_labels = ['one']
 q = line.render_pyquery()
 assert (len(q('.axis.x')) == 1)
 assert (len(q('.axis.y')) == 1)
 assert (len(q('.y.axis .guides')) == 1)

def test_one_dot ( ) : line = Line ( ) line . add ( 'one dot' , [ 12 ] ) line . x_labels = [ 'one' ] q = line . render_pyquery ( ) assert ( len ( q ( '.axis.x' ) ) == 1 ) assert ( len ( q ( '.axis.y' ) ) == 1 ) assert ( len ( q ( '.y.axis .guides' ) ) == 1 )
line test with an unique value .