Skip to content

Commit

Permalink
don't try to insert an id=0, as mysql will autoincrement it
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed May 17, 2012
1 parent 5d61618 commit 1c515be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion master/buildbot/test/unit/test_db_changes.py
Expand Up @@ -441,7 +441,7 @@ def thd(conn):
def test_pruneChanges_lots(self):
d = self.insertTestData([
fakedb.Change(changeid=n)
for n in xrange(150)
for n in xrange(1, 151)
])

d.addCallback(lambda _ : self.db.changes.pruneChanges(1))
Expand Down

0 comments on commit 1c515be

Please sign in to comment.