Total Complexity | 2 |
Total Lines | 6 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | from st2common.query.base import Querier |
||
5 | class TestQuerier(Querier): |
||
6 | def __init__(self, *args, **kwargs): |
||
7 | super(TestQuerier, self).__init__(*args, **kwargs) |
||
8 | |||
9 | def query(self, execution_id, query_context): |
||
10 | return (LIVEACTION_STATUS_SUCCEEDED, {'called_with': {execution_id: query_context}}) |
||
11 | |||
16 |