swift/test/unit
Pete Zaitcev cfa4f9497d Use a local variable auditor_worker
This patch is only a cleanup, but our code makes me rage every time
I read it. In short, we have a class with a variable self.auditor,
and we assign ObjectAuditor to it at some ties, AuditorWorker at
other times. So, whenever there's a mismerge or whatever, you cannot
tell if self.auditor.broker_class makes sense or not.

Since all cases of using self.auditor as AuditorWorker are purely
local, just evict it to a local variable auditor_worker. Leave
self.auditor to represent ObjectAuditor, because it's used as
a class variable in places.

Change-Id: I811b80ac6c69a4daacfed7a5918bc0b15761d72e
2013-09-13 13:55:10 -06:00
..
account Improve unittest coverage of account reaper 2013-09-11 10:02:29 +02:00
common Merge "fix race in test_wait on busy server" 2013-09-12 22:04:43 +00:00
container Fix sync test when localhost on port 80 is binded 2013-09-11 15:49:48 -04:00
locale fix swift i18n 2013-09-09 20:25:00 -07:00
obj Use a local variable auditor_worker 2013-09-13 13:55:10 -06:00
proxy Pep8 account and proxy server unit tests (10 of 12) 2013-09-01 16:12:51 -04:00
__init__.py Add Apache 2.0 licensing headers 2013-09-07 16:31:06 +02:00