Ejemplo n.º 1
0
    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
Ejemplo n.º 2
0
    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
Ejemplo n.º 3
0
    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
Ejemplo n.º 4
0
    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