Files
swift/test
Kazuhiro MIYAHARA 8140b7e7ad Fix inconsistency of account info in expirer's unit tests
In expirer's unit tests, FakeInternalClient instances simulates
expirer's task queue behavior. But get_account_info method of
the FakeInternalClient returns container count = 1 and object
count = 2, even if it simulate different count of containers or
objects.

This patch fixes the behavior. The return values of get_account_info
will be equal to simulated container and object counts.

This patch will make review for expirer's task queue upgrade patch [1]
more easy.

[1]: https://review.openstack.org/#/c/517389

Change-Id: Id5339ea7e10e4577ff22daeb91ec90f08704c98d
2018-02-01 09:43:46 +00:00
..
2017-05-11 01:39:14 -06:00