def test_validate_on_invalid_value(self):
        args = (0, enums.SecretDataType.PASSWORD)
        self.assertRaises(TypeError, SecretData, *args)
Test that a TypeError is raised when an invalid value is used to
dataset/ETHPy150Open OpenKMIP/PyKMIP/kmip/tests/unit/pie/objects/test_secret_data.py/TestSecretData.test_validate_on_invalid_value