self.assertEqual(100,axis.zDimension().value())
if __name__ == "__main__":
- unittest.main()
+ unittest.main(exit=False)
self.assertEqual("x + 30", point.z().text())
if __name__ == "__main__":
- unittest.main()
+ unittest.main(exit=False)
self.session.finishOperation()
if __name__ == "__main__":
- unittest.main()
+ unittest.main(exit=False)
if __name__ == "__main__":
- unittest.main()
+ unittest.main(exit=False)
if __name__ == "__main__":
- unittest.main()
+ unittest.main(exit=False)
if __name__ == "__main__":
- unittest.main()
+ unittest.main(exit=False)
if __name__ == "__main__":
- unittest.main()
+ unittest.main(exit=False)
self.assertEqual(self.aRadiusAttr.value(), 200.)
if __name__ == '__main__':
- unittest.main()
+ unittest.main(exit=False)
#=========================================================================
# End of test
#=========================================================================
#-----------------------------------------------------------------------------
if __name__ == "__main__":
- unittest.main()
+ unittest.main(exit=False)
if __name__ == "__main__":
- unittest.main()
+ unittest.main(exit=False)
if __name__ == "__main__":
- unittest.main()
+ unittest.main(exit=False)
import salome.shaper.examples.MakeBrick1
if __name__ == "__main__":
- unittest.main()
+ unittest.main(exit=False)
import salome.shaper.examples.MakeBrick2
if __name__ == "__main__":
- unittest.main()
+ unittest.main(exit=False)
model.addSketch(self.part, plane)
if __name__ == "__main__":
- unittest.main()
+ unittest.main(exit=False)
import salome.shaper.examples.Platine
if __name__ == "__main__":
- unittest.main()
+ unittest.main(exit=False)
self.assertEqual(box.secondPoint().context().shape().isVertex(),True)
if __name__ == "__main__":
- unittest.main()
+ unittest.main(exit=False)
from salome.shaper import geom
if __name__ == "__main__":
- unittest.main()
+ unittest.main(exit=False)
if __name__ == "__main__":
- unittest.main(verbosity=2)
+ unittest.main(verbosity=2, exit=False)
if __name__ == "__main__":
- unittest.main(verbosity=2)
+ unittest.main(verbosity=2, exit=False)
if __name__ == "__main__":
- unittest.main(verbosity=2)
\ No newline at end of file
+ unittest.main(verbosity=2, exit=False)
\ No newline at end of file
# self.assertTrue(False, msg="%s" % (dir(mirrored_circle)))
if __name__ == "__main__":
- unittest.main(verbosity=2)
+ unittest.main(verbosity=2, exit=False)
self.assertEqual(point.coordinates().y(), 2.0)
if __name__ == "__main__":
- unittest.main(verbosity=2)
\ No newline at end of file
+ unittest.main(verbosity=2, exit=False)
\ No newline at end of file
)
if __name__ == "__main__":
- unittest.main()
\ No newline at end of file
+ unittest.main(exit=False)
\ No newline at end of file
self.sketch.setCoincident(l1.endPoint())
if __name__ == "__main__":
- unittest.main(verbosity=2)
\ No newline at end of file
+ unittest.main(verbosity=2, exit=False)
\ No newline at end of file
model.do()
if __name__ == "__main__":
- unittest.main(verbosity=2)
\ No newline at end of file
+ unittest.main(verbosity=2, exit=False)
\ No newline at end of file
self.assertEqual((circle.center().x(), circle.center().y()), (0, 10))
if __name__ == "__main__":
- unittest.main(verbosity=2)
+ unittest.main(verbosity=2, exit=False)
self.assertEqual(line.startPoint().y(), line.endPoint().y())
if __name__ == "__main__":
- unittest.main()
\ No newline at end of file
+ unittest.main(exit=False)
\ No newline at end of file
self.assertAlmostEqual(length, 25.0, delta=TestSketcher.DELTA)
if __name__ == "__main__":
- unittest.main()
\ No newline at end of file
+ unittest.main(exit=False)
\ No newline at end of file
model.do()
if __name__ == "__main__":
- unittest.main()
\ No newline at end of file
+ unittest.main(exit=False)
\ No newline at end of file
self.assertAlmostEqual(dot_product, 0.0, delta=TestSketcher.DELTA)
if __name__ == "__main__":
- unittest.main()
\ No newline at end of file
+ unittest.main(exit=False)
\ No newline at end of file
self.assertEqual(circle.radius().value(), 25.0)
if __name__ == "__main__":
- unittest.main(verbosity=2)
\ No newline at end of file
+ unittest.main(verbosity=2, exit=False)
\ No newline at end of file
self.sketch.setTangent(None, self.arc)
if __name__ == "__main__":
- unittest.main(verbosity=2)
\ No newline at end of file
+ unittest.main(verbosity=2, exit=False)
\ No newline at end of file
self.assertEqual(line.startPoint().x(), line.endPoint().x())
if __name__ == "__main__":
- unittest.main()
\ No newline at end of file
+ unittest.main(exit=False)
\ No newline at end of file
# TODO(spo): add tests.
if __name__ == "__main__":
- unittest.main()
+ unittest.main(exit=False)
self.assertEqual(model.dof(self.mySketch), self.myDOF)
if __name__ == '__main__':
- unittest.main()
+ unittest.main(exit=False)
#=========================================================================
# End of test
#=========================================================================
if __name__ == '__main__':
- unittest.main()
+ unittest.main(exit=False)
if __name__ == '__main__':
- unittest.main()
+ unittest.main(exit=False)
if __name__ == '__main__':
- unittest.main()
+ unittest.main(exit=False)
if __name__ == '__main__':
- unittest.main()
+ unittest.main(exit=False)
if __name__ == '__main__':
- unittest.main()
+ unittest.main(exit=False)