alternate config unit test fix

This commit is contained in:
justin-h-loi 2023-08-15 16:49:54 -04:00 committed by arp102
parent ff69f85091
commit 483fc6c57f
3 changed files with 1 additions and 5 deletions

View File

@ -10,7 +10,6 @@ jobs:
build:
runs-on: ${{ matrix.os }}
env:
UNITTEST: ${{ true }}
TOXENV: ${{ matrix.test }}
RUN_INTEGRATION_TESTS: ${{ matrix.test_number}}
steps:

View File

@ -27,9 +27,6 @@ CONFIG_FILE = [
os.path.normpath(os.path.join(FILE_PATH, '../pykmip.conf')),
os.path.normpath(os.path.join(FILE_PATH, '../kmipconfig.ini'))]
if os.environ.get("UNITTEST"):
CONFIG_FILE = []
class ConfigHelper(object):
NONE_VALUE = 'None'

View File

@ -81,7 +81,7 @@ class TestKMIPClient(TestCase):
self.cred_factory = CredentialFactory()
self.secret_factory = SecretFactory()
self.client = KMIPProxy()
self.client = KMIPProxy(config_file="/dev/null")
KMIP_PORT = 9090
CA_CERTS_PATH = os.path.normpath(os.path.join(os.path.dirname(