def METHOD_NAME(expected, actual, *ignore):
    import pytest
    for x in expected.keys():
        if x not in ignore and actual[x] != expected[x]:
            pytest.fail("%s unexpectedly changed (expected %d but was %d)." %
                        (x, expected[x], actual[x]))