def s390_time_initalize_test(self): """Check that time_initialize doesn't call hwclock on s390.""" timezone.time_initialize(mock.Mock(), mock.Mock(), mock.Mock()) self.assertFalse(self.iutil_mock.execWithRedirect.called)
def test_s390_time_initialize(self, exec_mock, s390_mock): """Check that time_initialize doesn't call hwclock on s390.""" timezone.time_initialize(Mock()) self.assertFalse(exec_mock.called)
def s390_time_initialize_test(self): """Check that time_initialize doesn't call hwclock on s390.""" timezone.time_initialize(mock.Mock(), mock.Mock(), mock.Mock()) self.assertFalse(self.iutil_mock.execWithRedirect.called)