]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test-network: update cosmetic workaround
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 18 Feb 2019 06:26:54 +0000 (15:26 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 21 Feb 2019 01:55:46 +0000 (10:55 +0900)
Almost all tests call copy_unit_to_networkd_unit_path() at first.
So, let's move the line break there.

test/test-network/systemd-networkd-tests.py

index 797ba7c4b2613086c075815d9ca7f26dbed0a6d3..98ff1ba6dc33d720cead1fde2491a6bf787c52b0 100755 (executable)
@@ -117,6 +117,7 @@ class Utilities():
             return f.readline().strip()
 
     def copy_unit_to_networkd_unit_path(self, *units):
+        print()
         for unit in units:
             shutil.copy(os.path.join(networkd_ci_path, unit), network_unit_file_path)
             if (os.path.exists(os.path.join(networkd_ci_path, unit + '.d'))):
@@ -172,7 +173,6 @@ class Utilities():
         else:
             subprocess.check_call('systemctl restart systemd-networkd', shell=True)
         time.sleep(5)
-        print()
 
 class NetworkdNetDevTests(unittest.TestCase, Utilities):