Skip to content

Commit

Permalink
Fix test that all of a sudden is failing on travis-ci for MySQL
Browse files Browse the repository at this point in the history
wtf?
  • Loading branch information
coleifer committed Oct 5, 2018
1 parent b81a389 commit b3058f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1628,7 +1628,7 @@ def test_two_windows(self):
def test_empty_over(self):
query = (Sample
.select(Sample.counter, Sample.value,
fn.LAG(Sample.counter, 1).over())
fn.LAG(Sample.counter, 1).over(order_by=[Sample.id]))
.order_by(Sample.id)
.tuples())
self.assertEqual(list(query), [
Expand Down

0 comments on commit b3058f9

Please sign in to comment.