def test_funkyquery(self):
        class FunkyS(S):
            def process_query_funkyquery(self, key, val, field_action):
                return {'funkyquery': {'field': key, 'value': val}}

        s = FunkyS().query(foo__funkyquery='bar')
        eq_(s.build_search(),
            {
                'query': {
                    'funkyquery': {'field': 'foo', 'value': 'bar'}
                }
            })
Test google chart rendering of a bar chart
dataset/ETHPy150Open mozilla/elasticutils/elasticutils/tests/test_query.py/QueryTest.test_funkyquery--crossover with--dataset/ETHPy150Open evanbrumley/django-report-tools/report_tools/tests/test_all.py/GoogleChartsTest.test_bar_chart