Matt Tennant has posted comments on this change.
Change subject: Submit non-manifest changes in the right order.
......................................................................
Patch Set 8: (4 inline comments)
....................................................
File buildbot/validation_pool_unittest.py
Line 84: class base(cros_test_lib.TestCase):
why is this class lower-case?
Line 94: # We have to use a custom mock class to fix some brain behaviour of
"brain behaviour"? not part of this CL, though
Line 98: mox_ = getattr(self, 'mox', None)
will the mox attribute ever be present now, since you changed the class to inherit from TestCase rather than MoxTestCase?
Edit: I see that sub-classes are inheriting from more than one class, including this one. Can I suggest that this logic involving a mox attribute be moved to a sub-class method somewhere that has reason to expect mox to exist? I don't know if that is easily done.
Line 1141: cros_build_lib_unittest.RunCommandTestCase):
Hmm. The concern here is that someone editing RunCommandTestCase, within cros_build_lib_unittest.py, is unlikely to think they are editing something that is being used elsewhere. Yes, they should check, but *_unittest.py files are not generally used like libraries. If this class is generally helpful maybe it should be moved elsewhere, like cros_test_lib.