2ef1fec
Tests: set a return value for the subprocess mock This makes the tests work on Python 3. Otherwise they fail as Python 3 won't compare an int and a MagicMock. Signed-off-by: Adam Williamson <awilliam@redhat.com>