Support IP range editing in Organization view_embed

This commit is contained in:
2018-01-24 13:00:09 +01:00
parent d3f97358d9
commit 270bb21646
4 changed files with 21 additions and 1 deletions

View File

@@ -818,7 +818,7 @@ class IPRangeTest(AbstractOrgTest):
# IP ranges should be saved as integers for fast matching.
db_org = self._patch({'ip_ranges': [
'192.168.3.0/24',
'192.168.3.1/32',
' 192.168.3.1/32 \r\n ', # Whitespace should be ignored
'2a03:b0c0:0:1010::8fe:6ef1/120',
]})