doxy
[oweals/gnunet.git] / src / integration-tests / test_integration_connection_values_tcp_udp.py.in
index 4403c90920d4b2d0cfe5dafadedc6fbadd456e62..cfb10432b82b1c66a3bd3e93dc1b76e163982a30 100755 (executable)
@@ -43,13 +43,13 @@ testname = "test_integration_connection_value"
 verbose = True
 check_timeout = 180
 
+if os.name == "nt":
+  tmp = os.getenv ("TEMP")
+else:
+  tmp = "/tmp"
 
 def cleanup ():
-       if os.name == "nt":
-           shutil.rmtree (os.path.join (os.getenv ("TEMP"), "c_normal_client"), True)
-       else:
-           shutil.rmtree ("/tmp/c_normal_client/", True)
-
+    shutil.rmtree (os.path.join (tmp, "c_normal_client"), True)
 
 def success_cont (check):
     global success