

def testAxisAssignment(self):
    'Make sure axis assignment works properly'
    new_axis = common.Axis()
    self.chart.top = new_axis
    self.assertTrue((self.chart.top is new_axis))
    new_axis = common.Axis()
    self.chart.bottom = new_axis
    self.assertTrue((self.chart.bottom is new_axis))
    new_axis = common.Axis()
    self.chart.left = new_axis
    self.assertTrue((self.chart.left is new_axis))
    new_axis = common.Axis()
    self.chart.right = new_axis
    self.assertTrue((self.chart.right is new_axis))

dataset/ETHPy150Open baz/app-sales-machine/lib/graphy/common_test.py CommonTest.testAxisAssignment/original