From 0cb5d9f168e10d8744ada67e10928a0615e28387 Mon Sep 17 00:00:00 2001 From: Arthur Hanson Date: Wed, 25 Sep 2024 08:50:17 -0700 Subject: [PATCH] 17558 add tests --- netbox/extras/tests/test_customfields.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/netbox/extras/tests/test_customfields.py b/netbox/extras/tests/test_customfields.py index f440ebd2f..c365e9653 100644 --- a/netbox/extras/tests/test_customfields.py +++ b/netbox/extras/tests/test_customfields.py @@ -349,6 +349,7 @@ class CustomFieldTest(TestCase): ('b', 'Option B'), ('c', 'Option C'), ('d', 'Option D'), + ('abcde', 'Option ABCDE'), ) # Create a set of custom field choices @@ -389,6 +390,7 @@ class CustomFieldTest(TestCase): ('b', 'Option B'), ('c', 'Option C'), ('d', 'Option D'), + ('abcde', 'Option ABCDE'), ) choice_set.extra_choices = CHOICES choice_set.full_clean() @@ -400,6 +402,7 @@ class CustomFieldTest(TestCase): ('a', 'Option A'), ('b', 'Option B'), ('d', 'Option D'), + ('abcde', 'Option ABCDE'), ) choice_set.extra_choices = CHOICES choice_set.full_clean() @@ -410,6 +413,7 @@ class CustomFieldTest(TestCase): ('a', 'Option A'), ('b', 'Option B'), ('c', 'Option C'), + ('abcde', 'Option ABCDE'), ) choice_set.extra_choices = CHOICES choice_set.full_clean()