Skip to content

Commit 4774385

Browse files
prints no_proxy var
1 parent 79b7405 commit 4774385

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/test_tpp_token.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import binascii
1818
import time
1919
import unittest
20+
import os
2021
from datetime import datetime, timedelta
2122

2223
from cryptography import x509
@@ -43,6 +44,8 @@ def __init__(self, *args, **kwargs):
4344

4445
def test_tpp_token_enroll(self):
4546
cn = f"{random_word(10)}.venafi.example.com"
47+
no_proxy_value = os.environ.get('no_proxy')
48+
print(f'\nno_proxy_value: {no_proxy_value or "<no_proxy_set>"}\n')
4649
try:
4750
cert_id, pkey, cert, _, cert_guid = enroll(self.tpp_conn, self.tpp_zone, cn)
4851
cert_config = self.tpp_conn._get_certificate_details(cert_guid)

0 commit comments

Comments
 (0)