1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Drop as_dict() method from ChoiceSet

This commit is contained in:
jeremystretch
2021-12-16 10:22:05 -05:00
parent 124302908a
commit 1902ecb8ca
4 changed files with 3 additions and 13 deletions

View File

@@ -30,8 +30,3 @@ class ChoiceSetTestCase(TestCase):
def test_values(self):
self.assertListEqual(ExampleChoices.values(), ['a', 'b', 'c', 1, 2, 3])
def test_as_dict(self):
self.assertEqual(ExampleChoices.as_dict(), {
'a': 'A', 'b': 'B', 'c': 'C', 1: 'One', 2: 'Two', 3: 'Three'
})