

def test_delete_tag(self):
    airship = ua.Airship('key', 'secret')
    test_delete = ua.DeleteTag(airship, 'high_roller')
    with mock.patch.object(ua.Airship, '_request') as mock_request:
        response = requests.Response()
        response.status_code = 204
        mock_request.return_value = response
        url = 'https://go.urbanairship.com/api/tags/high_roller'
        test_delete.url = url
        results = self.send_delete()
        self.assertEqual(results, response)

dataset/ETHPy150Open urbanairship/python-library/tests/devices/test_tags.py TestDeleteTag.test_delete_tag/VarMisuse@82/131 `test_delete`->`self`