test-network: cleanup dnsmasq related file on setup

Just for safety.
This commit is contained in:
Yu Watanabe
2021-10-20 03:49:05 +09:00
parent 888f57c11c
commit a4a1385e07
@@ -4039,6 +4039,8 @@ class NetworkdDHCPClientTests(unittest.TestCase, Utilities):
def setUp(self):
stop_dnsmasq()
remove_dnsmasq_lease_file()
remove_dnsmasq_log_file()
remove_links(self.links)
stop_networkd(show_logs=False)