def test_validate_on_invalid_data_type(self):
        args = (self.bytes_a, 'invalid')
        self.assertRaises(TypeError, SecretData, *args)
Test that a TypeError is raised when an invalid data type is used to
dataset/ETHPy150Open OpenKMIP/PyKMIP/kmip/tests/unit/pie/objects/test_secret_data.py/TestSecretData.test_validate_on_invalid_data_type