from collections import deque


class Call:

    def __init__(self, *expected_input, returns):
        self.expected_input = expected_input
        self.returns = returns


class MockFilter:

    def __init__(self, *expected_calls):
        self.expected_calls = deque(expected_calls)

    def __call__(self, *args):
        call = self.expected_calls.popleft()
        assert args == call.expected_input
        return call.returns

2090902052e6b0516b2fad6bb9d3199e687a6260
<mask token>


class MockFilter:

    def __init__(self, *expected_calls):
        self.expected_calls = deque(expected_calls)
    <mask token>

<mask token>


class Call:
    <mask token>


class MockFilter:

    def __init__(self, *expected_calls):
        self.expected_calls = deque(expected_calls)

    def __call__(self, *args):
        call = self.expected_calls.popleft()
        assert args == call.expected_input
        return call.returns

<mask token>


class Call:

    def __init__(self, *expected_input, returns):
        self.expected_input = expected_input
        self.returns = returns


class MockFilter:

    def __init__(self, *expected_calls):
        self.expected_calls = deque(expected_calls)

    def __call__(self, *args):
        call = self.expected_calls.popleft()
        assert args == call.expected_input
        return call.returns

from collections import deque


class Call:

    def __init__(self, *expected_input, returns):
        self.expected_input = expected_input
        self.returns = returns


class MockFilter:

    def __init__(self, *expected_calls):
        self.expected_calls = deque(expected_calls)

    def __call__(self, *args):
        call = self.expected_calls.popleft()
        assert args == call.expected_input
        return call.returns
