A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.
fix(types): fix label test for SocialAccount
dextmorgn1b0fb516af5c
diff --git a/flowsint-types/tests/test_labels.py b/flowsint-types/tests/test_labels.pyindex 11cac887..e3930f6d 100644--- a/flowsint-types/tests/test_labels.py+++ b/flowsint-types/tests/test_labels.py@@ -1,21 +1,21 @@from flowsint_types import (- Domain,- Ip,- Individual,- Email,- Phone,- Organization,- Username,+ ASN,+ CIDR,Credential,- CryptoWallet,CryptoNFT,+ CryptoWallet,CryptoWalletTransaction,+ Domain,+ Email,+ Individual,+ Ip,+ Location,+ Organization,+ Phone,+ Port,SocialAccount,+ Username,Website,- Port,- CIDR,- ASN,- Location,)@@ -66,7 +66,8 @@ def test_organization_label_with_nom_raison_sociale():def test_username_label():username = Username(value="johndoe")assert username.label == "johndoe"-++def test_username_label_2():username = Username(value="@johndoe")assert username.label == "johndoe"@@ -151,7 +152,7 @@ def test_social_account_label_with_display_name():def test_social_account_label_without_display_name():username = Username(value="johndoe")account = SocialAccount(username=username, platform="twitter")- assert account.label == "@johndoe"+ assert account.label == "johndoe@twitter"def test_website_label():