Skip to content

Commit 9ce3820

Browse files
author
zmihaljevic
committed
Tests fix
1 parent 620d9ab commit 9ce3820

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ReversingLabs/SDK/ticloud.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
JSON = "json"
2525

2626
CLASSIFICATIONS = ("MALICIOUS", "SUSPICIOUS", "KNOWN", "UNKNOWN")
27-
AVAILABLE_PLATFORMS = ("windows7", "windows10", "windows11", "macos11", "linux")
27+
AVAILABLE_PLATFORMS = ("windows7", "windows10", "windows11", "macos11", "linux", "android12")
2828
VERTICAL_FEEDS_CATEGORIES = ("financial", "retail", "ransomware", "apt", "exploit", "configuration")
2929
IOC_CLASSIFICATION = ["MALICIOUS", "SUSPICIOUS"]
3030
IOC_VERTICAL_CATEGORIES = ("financial", "ransomware", "apt", "exploit", "retail", "bots", "healthcare")

tests/test_ticloud.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -748,8 +748,8 @@ def setup_class(cls):
748748
cls.ip_ti = IPThreatIntelligence(HOST, USERNAME, PASSWORD)
749749

750750
def test_wrong_input(self, requests_mock):
751-
with pytest.raises(WrongInputError, match=r"p_address parameter must be string."):
752-
self.ip_ti.get_ip_report(ip_address=1.1)
751+
with pytest.raises(WrongInputError, match=r"ip_address_input parameter must be string."):
752+
self.ip_ti.get_ip_report(ip_address_input=1.1)
753753

754754
assert not requests_mock.post.called
755755

0 commit comments

Comments
 (0)