Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
baseplate-admin committed Feb 23, 2024
1 parent 42d68ca commit 0951c03
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 6 additions & 0 deletions tests/test_limits.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from taxonomy.models import Taxonomy


def test_automatic_name_creation():
for i in range(0, 2_538_557_185_841_324_496):
Taxonomy.objects.create_child(name=i)
3 changes: 0 additions & 3 deletions tests/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,3 @@ def test_slicing(db):
assert qs[:3].count() == 3


def test_automatic_name_creation():
for i in range(0, 2_538_557_185_841_324_496):
Taxonomy.objects.create_child(name=i)

0 comments on commit 0951c03

Please sign in to comment.