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

#4347: Rename NetBoxModelCSVForm to NetBoxModelImportForm

This commit is contained in:
jeremystretch
2022-11-15 12:24:57 -05:00
parent d9d25ff4e7
commit 23c0ca456f
19 changed files with 248 additions and 233 deletions

View File

@@ -1,7 +1,7 @@
from django import forms
from django.test import TestCase
from ipam.forms import IPAddressCSVForm
from ipam.forms import IPAddressImportForm
from utilities.forms.fields import CSVDataField
from utilities.forms.utils import expand_alphanumeric_pattern, expand_ipaddress_pattern
@@ -288,7 +288,7 @@ class ExpandAlphanumeric(TestCase):
class CSVDataFieldTest(TestCase):
def setUp(self):
self.field = CSVDataField(from_form=IPAddressCSVForm)
self.field = CSVDataField(from_form=IPAddressImportForm)
def test_clean(self):
input = """