def test__get_fill_Should_ReturnExpected_When_Data(self, *patches): result = StatusLine._get_fill({'max_index': 203}) expected_result = {'index': 3} self.assertEqual(result, expected_result)
def test__get_fill_Should_ReturnExpected_When_NoData(self, *patches): result = StatusLine._get_fill(None) expected_result = {'index': FILL} self.assertEqual(result, expected_result)