Skip to content

Commit 105b1eb

Browse files
committed
Fix Coverage
1 parent dab8c7f commit 105b1eb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/hostcfgd/hostcfgd_test.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -855,10 +855,7 @@ def setUp(self):
855855
@mock.patch('hostcfgd.run_cmd')
856856
@mock.patch('hostcfgd.syslog.syslog')
857857
def test_load_initial_timezone_different_from_current(self, mock_syslog, mock_run_cmd, mock_realpath):
858-
"""
859-
Test initial timezone setting when desired timezone differs from current.
860-
This test covers the uncovered lines in the successful timezone setting path.
861-
"""
858+
""" Test initial timezone setting when desired timezone differs from current. """
862859
mock_realpath.side_effect = [
863860
'/usr/share/zoneinfo/America/New_York',
864861
'/usr/share/zoneinfo/UTC'

0 commit comments

Comments
 (0)