コード例 #1
0
ファイル: timezone_test.py プロジェクト: akozumpl/anaconda
    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)
コード例 #2
0
ファイル: test_timezone.py プロジェクト: lcnja/anaconda
 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)
コード例 #3
0
    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)