-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exclude the "sent-at" header from equality checks
In fedora-infra/bodhi#2858 it was noted that tests involving equality of messages fails because of the sent-at header. It doesn't make a lot of sense to include this in an equality check for the same reason the id is not included in the check - it's metadata and of little interest to developers (unless they are tracking messages). Signed-off-by: Jeremy Cline <jcline@redhat.com>
- Loading branch information
1 parent
5019eb0
commit c93c6c9
Showing
3 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Fix the equality check on :class:`fedora_messaging.message.Message` objects to | ||
exclude the 'sent-at' header. |