check uniq value for a slave

This commit is contained in:
2017-03-06 22:35:32 +01:00
parent 58a90a3707
commit 7977efe246
2 changed files with 17 additions and 4 deletions

View File

@ -241,6 +241,13 @@ def test_consistency_not_equal_masterslave():
c.a = [1]
raises(ValueError, "c.b = [1]")
c.b = [2]
del(c.a)
c.a.append(1)
c.make_dict()
c.b[0] = 3
c.a.append(2)
c.b[0] = 3
raises(ValueError, "c.b[1] = 3")
def test_consistency_not_equal_masterslaves_default():