git://git.onelab.eu
/
nepi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Adding linux ns3 server unit test
[nepi.git]
/
test
/
resources
/
linux
/
ns3
/
ns3client.py
diff --git
a/test/resources/linux/ns3/ns3client.py
b/test/resources/linux/ns3/ns3client.py
index
404fc5d
..
aea015b
100644
(file)
--- 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)