def setup_keys(self): self.context = dict.fromkeys(['one', 'seven', 'stars']) self.validator = build_format_string_validator(self.context)