Example #1
0
    def setUp(self):
        super(WhenTestingTransportKeyValidator, self).setUp()

        self.plugin_name = 'name'
        self.transport_key = 'abcdef'
        self.transport_req = {
            'plugin_name': self.plugin_name,
            'transport_key': self.transport_key
        }

        self.validator = validators.NewTransportKeyValidator()
Example #2
0
 def __init__(self, transport_key_repo=None):
     LOG.debug('Creating TransportKeyController')
     self.repo = transport_key_repo or repo.TransportKeyRepo()
     self.validator = validators.NewTransportKeyValidator()