X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=test%2Fresources%2Flinux%2Fns3%2Fns3client.py;h=aea015b04d08fab6aa5044f8e83a783ecc0ec65f;hb=ab601cf5f7775071e59c6bdbb3369889244f70a5;hp=404fc5d28dd013d8afaddbb7a9864485ca3ff5bc;hpb=0a8ad989a65fef39f9227f38325a7c732b7a9cd9;p=nepi.git diff --git a/test/resources/linux/ns3/ns3client.py b/test/resources/linux/ns3/ns3client.py index 404fc5d2..aea015b0 100644 --- a/test/resources/linux/ns3/ns3client.py +++ b/test/resources/linux/ns3/ns3client.py @@ -41,6 +41,8 @@ import unittest class LinuxNS3ClientTest(unittest.TestCase): def setUp(self): self.socket_name = os.path.join("/", "tmp", "NS3WrapperServer.sock") + if os.path.exists(self.socket_name): + os.remove(self.socket_name) def tearDown(self): os.remove(self.socket_name)