Ejemplo n.º 1
0
    def test_init_data_source(self, *args):
        params = {'options': {}, 'secret_data': {}}

        self.transaction.method = 'verify'
        data_source_svc = DataSourceService(transaction=self.transaction)
        response = data_source_svc.init(params.copy())
        print_data(response, 'test_init_data_source')
    def test_init_data_source(self, *args):
        params = {
            'options': {}
        }

        self.transaction.method = 'init'
        data_source_svc = DataSourceService(transaction=self.transaction)
        response = data_source_svc.init(params.copy())
        print_data(response, 'test_init_data_source')
        PluginInfo(response)