コード例 #1
0
 def test_get_hwclock(self):
     """
     Test if it get current hardware clock setting (UTC or localtime)
     """
     self.assertEqual(win_timezone.get_hwclock(), "localtime")
コード例 #2
0
def test_get_hwclock():
    """
    Test if it get current hardware clock setting (UTC or localtime)
    """
    assert win_timezone.get_hwclock() == "localtime"
コード例 #3
0
ファイル: test_win_timezone.py プロジェクト: morinap/salt-1
 def test_get_hwclock(self):
     '''
     Test if it get current hardware clock setting (UTC or localtime)
     '''
     self.assertEqual(win_timezone.get_hwclock(), 'localtime')
コード例 #4
0
ファイル: win_timezone_test.py プロジェクト: DaveQB/salt
 def test_get_hwclock(self):
     '''
     Test if it get current hardware clock setting (UTC or localtime)
     '''
     self.assertEqual(win_timezone.get_hwclock(), 'localtime')