Enable the following off-by-default checks: * [H204] Use assert(Not)Equal to check for equality. * [H205] Use assert(Greater|Less)(Equal) for comparison. * [H210] Require ‘autospec’, ‘spec’, or ‘spec_set’ in mock.patch/mock.patch.object calls Increase the version of hacking in test-requirements so that can use new off-by-default checks. No changes to code were required. Change-Id: I98aa484dc5414ee49c281dfd40e44b3c613d53e0changes/35/506735/2
parent
9ed2677c9d
commit
b67f9c1298
Loading…
Reference in new issue