def test_repr(self): """Return a string representing the redirects file.""" rdf = RedirectsFile('/tmp/redirects.json') assert rdf.__repr__() == '<RedirectsFile \'/tmp/redirects.json\'>'