Tests modified

This commit is contained in:
venusbb
2017-09-27 10:15:29 +01:00
parent 8f76338c7b
commit 9ad75ff726
2 changed files with 0 additions and 26 deletions

View File

@@ -338,7 +338,6 @@ def test_allow_valid_ips(restrict_ip_sms_app):
assert response.status_code == 200
# @pytest.mark.xfail(reason='Currently not blocking invalid IPs', strict=True)
def test_reject_invalid_ips(restrict_ip_sms_app):
with pytest.raises(AuthError) as exc_info:
restrict_ip_sms_app.get(
@@ -351,7 +350,6 @@ def test_reject_invalid_ips(restrict_ip_sms_app):
assert exc_info.value.short_message == 'Unknown source IP address from the SMS provider'
# @pytest.mark.xfail(reason='Currently not blocking invalid senders', strict=True)
def test_illegitimate_ips(restrict_ip_sms_app):
with pytest.raises(AuthError) as exc_info:
restrict_ip_sms_app.get(