

def testGetDependentIndependentAxes(self):
    c = self.chart
    self.assertEqual([c.left, right2.right], c.GetDependentAxes())
    self.assertEqual([c.top, c.bottom], c.GetIndependentAxes())
    right2 = c.AddAxis(common.AxisPosition.RIGHT, common.Axis())
    bottom2 = c.AddAxis(common.AxisPosition.BOTTOM, common.Axis())
    self.assertEqual([c.left, c.right, right2], c.GetDependentAxes())
    self.assertEqual([c.top, c.bottom, bottom2], c.GetIndependentAxes())

dataset/ETHPy150Open baz/app-sales-machine/lib/graphy/common_test.py CommonTest.testGetDependentIndependentAxes/VarMisuse@25/32 `c`->`right2`