def test_parse_for_price_3():
    ip = InputParser()
    query = r"price >=420 have you ever heard the tragedy of dark plagueis the wise"
    search_dict = {"price": [("<", "20")]}
    new_query = ip.parse_for_price(query, search_dict)
    assert search_dict == {"price": [("<", "20"), (">=", "420")]}
    assert new_query == r" have you ever heard the tragedy of dark plagueis the wise"
def test_parse_for_price_2():
    ip = InputParser()
    query = r"price < 20 price=40"
    search_dict = dict()
    new_query = ip.parse_for_price(query, search_dict)
    assert search_dict == {"price": [("<", "20"), ("=", "40")]}
    assert new_query == r" "