def test_delete_test_run_result(client):
    with requests_mock.Mocker() as m:
        m.delete(client._path('result/CODE/123/6efce6e4'), json={'status': True})
        data = client.results.delete('CODE', 123, '6efce6e4')
        assert (data is None)
        res = client.results._last_res
        assert (res.url == client._path('result/CODE/123/6efce6e4'))
def test_delete_test_run_result(client):
    with requests_mock.Mocker() as m:
        m.delete(client._path('result/CODE/123/6efce6e4'), json={'status': True})
        data = client.results.delete('CODE', 123, '6efce6e4')
        assert (data is None)
        res = client.results._last_res
        assert (res.url == client._path('result/CODE/123/6efce6e4'))