Skip to content

Commit

Permalink
use ordereddict for predictable output
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair committed May 30, 2018
1 parent 0a202af commit c64199e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/towncrier/test/test_write.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ class WritingTests(TestCase):
def test_append_at_top(self):

fragments = OrderedDict([
("", {
("142", "misc", 0): u"",
("1", "misc", 0): u"",
("4", "feature", 0): u"Stuff!",
("4", "feature", 1): u"Second Stuff!",
("2", "feature", 0): u"Foo added.",
("72", "feature", 0): u"Foo added.",
}),
("", OrderedDict([
(("142", "misc", 0), u""),
(("1", "misc", 0), u""),
(("4", "feature", 0), u"Stuff!"),
(("4", "feature", 1), u"Second Stuff!"),
(("2", "feature", 0), u"Foo added."),
(("72", "feature", 0), u"Foo added."),
])),
("Names", {}),
("Web", {
("3", "bugfix", 0): u"Web fixed.",
Expand Down

0 comments on commit c64199e

Please sign in to comment.