Esempio 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
Esempio 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
Esempio 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
Esempio 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