def test_min_max(self): series = Serie(self.cell) eq_(series.get_min_max(), (0, 0)) series = Serie(self.range) eq_(series.get_min_max(), (0, 9)) series = Serie(self.empty) eq_(series.get_min_max(), (None, None))
def test_error_bar(self): series = Serie(self.cell) from openpyxl.chart import ErrorBar series.error_bar = ErrorBar(None, self.cell) eq_(series.get_min_max(), (0, 0))
def test_min_max(self): series = Serie(self.cell) eq_(series.get_min_max(), (0, 0))