def METHOD_NAME(self):
    q = query(
        [
            ("filter:key1", "foo"),
            ("filter:key1", "bar"),
            ("filter:key2", "blah"),
            ("filter:key2", "blahblah"),
            ("filter:gte:date", "2018"),
        ]
    )
    self.assertEqual(
        q.get_filters(),
        [
            {"terms": {"key1": ["foo", "bar"]}},
            {"terms": {"key2": ["blah", "blahblah"]}},
            {"range": {"date": {"gte": "2018"}}},
        ],
    )