mirror of https://github.com/OpenKMIP/PyKMIP.git
alternate config unit test fix
This commit is contained in:
parent
ff69f85091
commit
483fc6c57f
|
@ -10,7 +10,6 @@ jobs:
|
|||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
env:
|
||||
UNITTEST: ${{ true }}
|
||||
TOXENV: ${{ matrix.test }}
|
||||
RUN_INTEGRATION_TESTS: ${{ matrix.test_number}}
|
||||
steps:
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue