Although `iri_to_uri` shouldn't be our problem and should be tested in django's test suite, I wouldn't use it in the test. I'd instead hardcode the `expected_url` to make a stronger assertion.