Fix test assertion
Change-Id: I40e5a6a7a068391ebf257e8963d1524ddb965654
This commit is contained in:
parent
231a67e1e9
commit
f92c4d4e58
@ -1591,7 +1591,7 @@ class TestDatabaseBroker(TestDbBase):
|
||||
fd.write(b'x' * 100000)
|
||||
with patch.object(broker, '_commit_puts') as mock_commit_puts:
|
||||
broker.put_record('direct')
|
||||
mock_commit_puts.called_once_with(['direct'])
|
||||
mock_commit_puts.assert_called_once_with(['direct'])
|
||||
|
||||
# records shouldn't be put to brokers with skip_commits True because
|
||||
# they cannot be accepted if the pending file is full
|
||||
|
Loading…
Reference in New Issue
Block a user