Skip to content

Commit

Permalink
Merge pull request #232 from lindycoder/fix_exceptions_test
Browse files Browse the repository at this point in the history
Rename exceptions test to be run
  • Loading branch information
stephanerobert committed Nov 7, 2018
2 parents 99095d9 + 756e99e commit 78bbcca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netman/core/objects/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ def __init__(self, name=None):


class UnknownDhcpRelayServer(UnknownResource):
def __init__(self, vlan_number, ip_address):
def __init__(self, vlan_number=None, ip_address=None):
super(UnknownDhcpRelayServer, self).__init__("DHCP relay server {} not found on VLAN {}".format(ip_address, vlan_number))


class DhcpRelayServerAlreadyExists(UnknownResource):
def __init__(self, vlan_number, ip_address):
def __init__(self, vlan_number=None, ip_address=None):
super(DhcpRelayServerAlreadyExists, self).__init__("DHCP relay server {} already exists on VLAN {}".format(ip_address, vlan_number))


Expand Down
File renamed without changes.

0 comments on commit 78bbcca

Please sign in to comment.