2380
2380
repo, client = self.setup_fake_client_and_repository(transport_path)
2381
2381
body = ("garbage_inventories: 2\n"
2382
2382
"inconsistent_parents: 3\n")
2384
'Repository.lock_write', ('hill/', ''),
2383
2386
client.add_success_response_with_body(body, 'ok')
2384
2387
reconciler = repo.reconcile()
2389
[('call', 'Repository.lock_write', ('hill/', '')),
2389
2393
self.assertEquals(2, reconciler.garbage_inventories)
2390
2394
self.assertEquals(3, reconciler.inconsistent_parents)