def test_init(self): g = LissajousGenerator(["x", "y"], ["mm", "cm"], [0., 0.], [1., 1.], 1) self.assertEqual(g.axis_units(), dict(x="mm", y="cm")) self.assertEqual(g.axes, ["x", "y"])