diff --git a/hvpy/api_groups/movies/tests/test_re_queue_movie.py b/hvpy/api_groups/movies/tests/test_re_queue_movie.py index de6fa19..b3c7a69 100644 --- a/hvpy/api_groups/movies/tests/test_re_queue_movie.py +++ b/hvpy/api_groups/movies/tests/test_re_queue_movie.py @@ -4,6 +4,12 @@ from hvpy.api_groups.movies.re_queue_movie import reQueueMovieInputParameters +# Skipping since reQueueMovie will fail while the requested +# movie is being processed by Helioviewer. The test suite +# will call this for each python version that's tested. +# The first call will work, but following calls will fail +# with the API saying "Movie is already being processed" +@pytest.mark.skip(reason="Cannot be called multiple times in a test suite. All calls after the 1st will fail.") def test_json_response(): response = reQueueMovie(id="gxRN5", force=True) assert response["id"] is not None diff --git a/hvpy/facade.py b/hvpy/facade.py index a7d1548..4dc2b50 100644 --- a/hvpy/facade.py +++ b/hvpy/facade.py @@ -399,8 +399,8 @@ def reQueueMovie( {Insert} Examples -------- - >>> from hvpy import reQueueMovie - >>> reQueueMovie(id="gxRN5", force=True) + >>> from hvpy import reQueueMovie # doctest: +SKIP + >>> reQueueMovie(id="gxRN5", force=True) # doctest: +SKIP {'id': 'gxRN5', 'eta': 274, 'queue': 0, 'token': '...'} """ params = reQueueMovieInputParameters(