Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Added an order clause to eliminate an occasional error
Browse files Browse the repository at this point in the history
  • Loading branch information
rorepo committed Aug 9, 2015
1 parent 6e84672 commit 13faa2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/py/test_teams.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def test_migrate_tips_to_payment_instructions(self):
ntips = new_team.migrate_tips()
assert ntips == 2

payment_instructions = self.db.all("SELECT * FROM payment_instructions")
payment_instructions = self.db.all("SELECT * FROM payment_instructions ORDER BY participant ASC")
assert len(payment_instructions) == 2
assert payment_instructions[0].participant == 'alice'
assert payment_instructions[0].team == 'new_team'
Expand Down

0 comments on commit 13faa2a

Please sign in to comment.