@@ -18,9 +18,9 @@ class PublisherEuidIntegrationTests(unittest.TestCase):
1818
1919 @classmethod
2020 def setUpClass (cls ):
21- cls .EUID_BASE_URL = os .getenv ("EUID_BASE_URL" , "http://localhost:8888" )
22- cls .EUID_API_KEY = os .getenv ("EUID_API_KEY" , "LOCALfCXrMMfsR3mDqAXELtWWMS+xG1s7RdgRTMqdOH2qaAo=" )
23- cls .EUID_SECRET_KEY = os .getenv ("EUID_SECRET_KEY" , "DzBzbjTJcYL0swDtFs2krRNu+g1Eokm2tBU4dEuD0Wk=" )
21+ cls .EUID_BASE_URL = os .getenv ("EUID_BASE_URL" )
22+ cls .EUID_API_KEY = os .getenv ("EUID_API_KEY" )
23+ cls .EUID_SECRET_KEY = os .getenv ("EUID_SECRET_KEY" )
2424
2525 print (cls .EUID_BASE_URL , cls .EUID_API_KEY , cls .EUID_SECRET_KEY )
2626
@@ -51,7 +51,7 @@ def test_integration_tc_string_with_insufficient_consent(self):
5151 def test_integration_optout_generate_token (self ):
5252 publisher_client = Uid2PublisherClient (self .EUID_BASE_URL , self .EUID_API_KEY , self .EUID_SECRET_KEY )
5353 tc_string = "CPhJRpMPhJRpMABAMBFRACBoALAAAEJAAIYgAKwAQAKgArABAAqAAA"
54- input = TokenGenerateInput .
from_email (
"random- optout[email protected] " ).
do_not_generate_tokens_for_opted_out ().
with_transparency_and_consent_string (
tc_string )
54+ input = TokenGenerateInput .from_email ("optout@example.com " ).do_not_generate_tokens_for_opted_out ().with_transparency_and_consent_string (tc_string )
5555 print (input .get_as_json_string ())
5656 token_generate_response = publisher_client .generate_token (input )
5757 print (token_generate_response .get_identity_json_string ())
@@ -69,9 +69,9 @@ class PublisherUid2IntegrationTests(unittest.TestCase):
6969
7070 @classmethod
7171 def setUpClass (cls ):
72- cls .UID2_BASE_URL = os .getenv ("UID2_BASE_URL" , "http://localhost:8888" )
73- cls .UID2_API_KEY = os .getenv ("UID2_API_KEY" , "LOCALfCXrMMfsR3mDqAXELtWWMS+xG1s7RdgRTMqdOH2qaAo=" )
74- cls .UID2_SECRET_KEY = os .getenv ("UID2_SECRET_KEY" , "DzBzbjTJcYL0swDtFs2krRNu+g1Eokm2tBU4dEuD0Wk=" )
72+ cls .UID2_BASE_URL = os .getenv ("UID2_BASE_URL" )
73+ cls .UID2_API_KEY = os .getenv ("UID2_API_KEY" )
74+ cls .UID2_SECRET_KEY = os .getenv ("UID2_SECRET_KEY" )
7575
7676 print (cls .UID2_BASE_URL , cls .UID2_API_KEY , cls .UID2_SECRET_KEY )
7777
0 commit comments