Add a test to ensure the version check error

_LC wasn't imported with the other log translation methods. This section
of code was untested. We should enforce the behaviour to handle changes
in this area.

Change-Id: I2bada31881c5de54c3af6d47e3f6412358edc582
Use newer requests-mock syntax

You can specify mocks in requests-mock using the method name as the
function rather than having to repeat strings throughout code. This
makes it less likely you'll make a simple mistake and looks cleaner.

Change-Id: I4929f256d1bbffae909ebb4c08e994c16a4164b5
Merge "Add a test to ensure the version check error"
Merge "Use newer requests-mock syntax"