def test_get_id_tier_key_does_not_exist(self): rec_dict = {} actual_output = ChintangReader.get_id_tier(rec_dict) desired_output = '' self.assertEqual(actual_output, desired_output)
def test_get_id_tier_key_exists(self): rec_dict = {'id': 3} actual_output = ChintangReader.get_id_tier(rec_dict) desired_output = 3 self.assertEqual(actual_output, desired_output)