We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb68b64 commit 094bfceCopy full SHA for 094bfce
tests/conftest.py
@@ -234,13 +234,11 @@ def movie(movies):
234
@pytest.fixture()
235
def collection(movies):
236
try:
237
- return movies.collections()[0]
+ return movies.collections(title="marvel")[0]
238
except IndexError:
239
movie = movies.get("Elephants Dream")
240
- movie.addCollection(["marvel"])
241
-
242
- n = movies.reload()
243
- return n.collections()[0]
+ movie.addCollection("marvel")
244
245
246
0 commit comments