def test_get_offset_for_built_in_non_existing(self): setup = Setup() with self.assertRaises(BuiltInNotExistsError): setup.get_offset_for_built_in('no_such_built_in')
def test_get_offset_for_built_in_no_match(self, check_output): setup = Setup() result = setup.get_offset_for_built_in('builtin_func') expected = 0 self.assertEqual(result, expected)