fediverse-devnet / feditest-tests-fediverse

The tests for the fediverse testsuite
MIT License
7 stars 4 forks source link

Better error message #117

Closed jernst closed 3 weeks ago

jernst commented 4 months ago

Test webfinger.server.4_1__2_parameter_ordering_not_significant::parameter_ordering fails for Threads with the message:

Wrong HTTP content type.

AssertionFailure: Wrong HTTP content type.
Accessed URI: "https://threads.net/.well-known/webfinger?resource=acct%3Amosseri%40threads.net&rel=http%3A//webfinger.net/rel/profile-page&rel=something-else&rel=self". -> "application/activity+json; charset=utf-8"
Expected: None
     but: was  "application/activity+json; charset=utf-8">
../feditest-tests-fediverse//tests/webfinger/server/4_1__2_parameter_ordering_not_significant.py:30

The "Expected: None" is really confusing.

jernst commented 3 weeks ago

Fixed earlier