@classmethod
def clean_key(cls, key):
    """
        Replace things that look like variables with a '#' so tests aren't
        affected by random variables
        """
    for var_re in cls.VARIABLE_RES:
        key = var_re.sub('#', key)
    return key
