def test_update_response_not_eligible(self): item = self.resp_nostatus item['_id'] = ObjectId() item['match_status'] = 'Not Eligible' update_response(item) match = self.__get_match() assert match['MATCH_STATUS'] == 3
def test_update_response_deferred(self): item = self.resp_nostatus item['_id'] = ObjectId() item['match_status'] = 'Deferred' update_response(item) match = self.__get_match() assert match['MATCH_STATUS'] == 7