Salome HOME
Optimize usage of context for PythonNode (by deleting input and output port PyObject...
[modules/yacs.git] / src / yacsloader / Test / YacsLoaderTest.cxx
index 43df387c81fa344ba7f472aab6b5cc6ac1b67fed..109145e8acee9f2458332a787080141c15836844 100644 (file)
@@ -654,7 +654,7 @@ void YacsLoaderTest::refcnt()
   ret = driverTest(p, "samples/refcnt2.xml");
   CPPUNIT_ASSERT(ret == 0);
   data = ((OutputPyPort*)p->nodeMap["b1.b.node1"]->getOutputPort("p1"))->get();
-  CPPUNIT_ASSERT(data->ob_refcnt==19);
+  CPPUNIT_ASSERT_EQUAL(data->ob_refcnt,(long int)13);
 }
 
 void YacsLoaderTest::foreachs()