mirror of
https://github.com/systemd/systemd.git
synced 2025-01-12 13:18:14 +03:00
test-network: update cosmetic workaround
Almost all tests call copy_unit_to_networkd_unit_path() at first. So, let's move the line break there.
This commit is contained in:
parent
4b600505dd
commit
ecdd039246
@ -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):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user