Salome HOME
add method NameChanged to update title name
[modules/kernel.git] / src / SALOMESDS / TestSalomeSDS.py
index bd333ca39995c5c1e4e0a8af8be9efd62c81d4a3..ceef5e77d6140eabd71eb300c3c37fc515a1fafa 100644 (file)
@@ -1,5 +1,5 @@
 # -*- coding: utf-8 -*-
-# Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -248,6 +248,9 @@ class SalomeSDSTest(unittest.TestCase):
     # play
     a["ab"]=4
     self.assertEqual(a.local_copy(),{"ab":4})
+    a.assign({"ab":5})
+    self.assertEqual(a.local_copy(),{"ab":5})
+    a.assign({"ab":4})
     a["cd"]=[5]
     self.assertEqual(a.local_copy(),{"ab":4,"cd":[5]})
     a["cd"].append(77)