Salome HOME
projects
/
modules
/
med.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Addition of new reference coords including degenerated cells.
[modules/med.git]
/
src
/
MEDCouplingCorba_Swig
/
MEDCouplingCorbaSwigTest.py
diff --git
a/src/MEDCouplingCorba_Swig/MEDCouplingCorbaSwigTest.py
b/src/MEDCouplingCorba_Swig/MEDCouplingCorbaSwigTest.py
index a8dd95ab5a62aee8d75d7566bb269ab42e940396..01289cf51e0a36b5fb9f418062aac6c2fbae84e5 100644
(file)
--- a/
src/MEDCouplingCorba_Swig/MEDCouplingCorbaSwigTest.py
+++ b/
src/MEDCouplingCorba_Swig/MEDCouplingCorbaSwigTest.py
@@
-168,7
+168,7
@@
class MEDCouplingCorbaServBasicsTest:
a2.setInfoOnComponent(0,"SmthZ");
#
targetMesh.setCoordsAt(0,a1);
a2.setInfoOnComponent(0,"SmthZ");
#
targetMesh.setCoordsAt(0,a1);
- targetMesh.setCoordsAt(
2
,a2);
+ targetMesh.setCoordsAt(
1
,a2);
#
#
targetMesh.checkCoherency();
#
#
targetMesh.checkCoherency();
@@
-600,8
+600,13
@@
class MEDCouplingCorbaServBasicsTest:
return ret;
def buildFileNameForIOR(self):
return ret;
def buildFileNameForIOR(self):
- ret=os.getenv("TMP");
- ret+="/entryPointMEDCouplingCorba.ior";
+ tmpdir=os.getenv("TMP", "/tmp");
+ username="";
+ if os.getenv("USERNAME"):
+ username = os.getenv("USERNAME")+"_";
+ elif os.getenv("USER"):
+ username = os.getenv("USER")+"_";
+ ret=tmpdir+"/"+username+"entryPointMEDCouplingCorba.ior";
return ret;
pass
return ret;
pass