File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -827,16 +827,6 @@ def test_domain_hotlist():
827827 assert "proximity_risk" in feed_result .keys ()
828828 assert "overall_risk" in feed_result .keys ()
829829
830-
831- @vcr .use_cassette
832- def test_feeds_endpoint_should_raise_error_if_signed_api_key_is_used ():
833- feeds_api .always_sign_api_key = True
834- with pytest .raises (ValueError ) as excinfo :
835- feeds_api .domaindiscovery (after = "-60" )
836-
837- assert str (excinfo .value ) == "Real Time Threat Feeds do not support signed API keys."
838-
839-
840830@vcr .use_cassette
841831def test_ip_hotlist ():
842832 results = feeds_api .iphotlist (after = "-60" , top = 5 )
@@ -873,3 +863,13 @@ def test_ip_risk():
873863 assert "total_domains" in feed_result .keys ()
874864 assert "all_threats_combined_count" in feed_result .keys ()
875865 assert "all_threats_combined_percent" in feed_result .keys ()
866+
867+
868+ @vcr .use_cassette
869+ def test_feeds_endpoint_should_raise_error_if_signed_api_key_is_used ():
870+ feeds_api .always_sign_api_key = True
871+ with pytest .raises (ValueError ) as excinfo :
872+ feeds_api .domaindiscovery (after = "-60" )
873+
874+ assert str (excinfo .value ) == "Real Time Threat Feeds do not support signed API keys."
875+
You can’t perform that action at this time.
0 commit comments