|
@@ -73,7 +73,7 @@ class LeRelationTestCase(TestCase):
|
73
|
73
|
""" Testing LeHierarch insert method """
|
74
|
74
|
from dyncode import LeCrud, Publication, Numero, Personnes, LeObject, Rubrique, LeHierarch, LeRelation
|
75
|
75
|
|
76
|
|
- LeRelation.delete([LeRelation.sup_filter(Numero(42)), 'nature = "parent"'], LeHierarch)
|
|
76
|
+ LeRelation.delete([LeRelation.sup_filter(Numero(42)), 'nature = "parent"'], 'LeHierarch')
|
77
|
77
|
dsmock.assert_called_once_with(LeHierarch, [('lesup', '=', Numero(42)), ('nature','=','"parent"')])
|
78
|
78
|
dsmock.reset_mock()
|
79
|
79
|
|