Fix up some PEP errors

This commit is contained in:
Daniel Sheppard 2022-06-29 16:14:30 -05:00
parent 3be9f6c4f3
commit 6e983d1542
3 changed files with 15 additions and 18 deletions

View File

@ -218,4 +218,3 @@ class NestedL2VPNTerminationSerializer(WritableNestedSerializer):
fields = [
'id', 'url', 'display', 'l2vpn'
]

View File

@ -211,7 +211,6 @@ class L2VPNTypeChoices(ChoiceSet):
(TYPE_MPLS_EVPN, 'MPLS EVPN'),
(TYPE_PBB_EVPN, 'PBB EVPN'),
))
)
P2P = (

View File

@ -612,4 +612,3 @@ class TestL2VPNTermination(TestCase):
L2VPNTermination.objects.create(l2vpn=l2vpn, assigned_object=vlan)
duplicate = L2VPNTermination(l2vpn=l2vpn, assigned_object=vlan)
self.assertRaises(ValidationError, duplicate.clean)