Check ip unit test and modify ways to parse IP address

This commit is contained in:
venusbb
2017-07-04 17:56:15 +01:00
parent c182ceca90
commit a307fa6dcd

View File

@@ -349,4 +349,4 @@ def test_reject_invalid_ips(restrict_ip_sms_app):
]
)
assert exc_info.value.short_message == 'Unknown source IP address from the SMS provider'
assert exc_info.value.short_message == 'Unknown source IP address from the SMS provider'