Skip to content

Commit

Permalink
Fix tuples
Browse files Browse the repository at this point in the history
  • Loading branch information
sarayourfriend committed May 23, 2024
1 parent 543dbad commit bdc0dec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion api/test/fixtures/media_type_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def indexes(self):
sensitive_class=SensitiveImage,
deleted_class=DeletedImage,
providers=("flickr", "stocksnap"),
categories=("photograph"),
categories=("photograph",),
tags=("cat", "Cat"),
q="dog",
),
Expand Down Expand Up @@ -126,6 +126,10 @@ def audio_media_type_config():
ids=lambda x: f"{x.media_type}_media_type_config",
)
def media_type_config(request: pytest.FixtureRequest) -> MediaTypeConfig:
assert request.param.providers in {
MEDIA_TYPE_CONFIGS["image"].providers,
MEDIA_TYPE_CONFIGS["audio"].providers,
}
return request.param


Expand Down

0 comments on commit bdc0dec

Please sign in to comment.