def test_constructor(self): from bokeh.glyphs import BaseGlyph test_glyph = BaseGlyph(visible=True, margin=8) self.assertEqual(test_glyph.to_glyphspec(), { 'visible': True, 'margin': 8, 'type': 'BaseGlyph' })
def setUp(self): from bokeh.glyphs import BaseGlyph self.test_glyph = BaseGlyph()