Skip to content

Commit

Permalink
sampledata needs to be added to DB in order, so keys are stable acros…
Browse files Browse the repository at this point in the history
…s tests
  • Loading branch information
jantman committed Mar 28, 2017
1 parent cc5f74f commit b6438ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion biweeklybudget/tests/fixtures/sampledata.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def _budgets(self):
is_active=False
)
}
for x in res.keys():
for x in sorted(res.keys()):
self.db.add(res[x])
return res

Expand Down

0 comments on commit b6438ef

Please sign in to comment.