Skip to content

Commit 80ac7ff

Browse files
committed
fix: add unique slug prefix to lib tests to avoid conflicts
1 parent 4eb55ff commit 80ac7ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libraries/tests/test_views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def test_library_list_no_pagination(library_version, tp):
7676
lib_versions = [
7777
baker.make(
7878
"libraries.LibraryVersion",
79-
library=baker.make("libraries.Library", name=f"lib-{i}"),
79+
library=baker.make("libraries.Library", name=f"lib-{i}", slug=f"lib-{i}"),
8080
version=library_version.version,
8181
)
8282
for i in range(30)

0 commit comments

Comments
 (0)