Skip to content

Commit 9b49eb9

Browse files
committed
Better support for local testing of TestFuncs
1 parent a274894 commit 9b49eb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webware/MiscUtils/Tests/TestFuncs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def testLocalIP(self):
9393

9494
def assertLocal(ip):
9595
self.assertTrue(
96-
ip == thisIp or ip.startswith(('127.', '192.168.'))
96+
ip == thisIp or ip.startswith(('127.', '169.254', '192.168.'))
9797
or '172.16.' <= ip <= '172.31.')
9898

9999
assertLocal(localIP(remote=None, useCache=None))

0 commit comments

Comments
 (0)