684
684
"""Test that local_time_offset() returns a sane value."""
685
685
offset = osutils.local_time_offset()
686
686
self.assertTrue(isinstance(offset, int))
692
695
def test_local_time_offset_with_timestamp(self):
693
696
"""Test that local_time_offset() works with a timestamp."""
694
697
offset = osutils.local_time_offset(1000000000.1234567)
695
698
self.assertTrue(isinstance(offset, int))