Example #1
0
 def test_set_hwclock(self):
     """
     Test if it sets the hardware clock to be either UTC or localtime
     """
     self.assertFalse(win_timezone.set_hwclock("UTC"))
def test_set_hwclock():
    """
    Test if it sets the hardware clock to be either UTC or localtime
    """
    assert not win_timezone.set_hwclock("UTC")
Example #3
0
 def test_set_hwclock(self):
     '''
     Test if it sets the hardware clock to be either UTC or localtime
     '''
     self.assertFalse(win_timezone.set_hwclock('UTC'))
Example #4
0
 def test_set_hwclock(self):
     '''
     Test if it sets the hardware clock to be either UTC or localtime
     '''
     self.assertFalse(win_timezone.set_hwclock('UTC'))