Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions hvpy/api_groups/movies/tests/test_re_queue_movie.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions hvpy/facade.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down