示例#1
0
 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)
示例#2
0
 def test__get_fill_Should_ReturnExpected_When_NoData(self, *patches):
     result = StatusLine._get_fill(None)
     expected_result = {'index': FILL}
     self.assertEqual(result, expected_result)