Skip to content

Commit 78fa3b8

Browse files
committed
Fix dhcpd IPython test
1 parent fa7d1d5 commit 78fa3b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/scapy/layers/dhcp.uts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,5 +125,5 @@ assert DHCPRevOptions['static-routes'][0] == 33
125125

126126
assert dhcpd
127127
import IPython
128-
assert IPython.lib.pretty.pretty(dhcpd) == '<function scapy.ansmachine.dhcpd(self, pool=Net("192.168.1.128/25"), network=\'192.168.1.0/24\', gw=\'192.168.1.1\', nameserver=None, domain=None, renewal_time=60, lease_time=1800, **kwargs)>'
128+
assert IPython.lib.pretty.pretty(dhcpd) == '<function scapy.ansmachine.dhcpd(self, pool: Union[scapy.base_classes.Net, List[str]] = Net("192.168.1.128/25"), network: str = \'192.168.1.0/24\', gw: str = \'192.168.1.1\', nameserver: Union[str, List[str]] = None, domain: Optional[str] = None, renewal_time: int = 60, lease_time: int = 1800, **kwargs)>'
129129

0 commit comments

Comments
 (0)