line: spalte 'empfänger', Feld 'reference' + tests

This commit is contained in:
Frederik Jaeckel 2022-08-16 14:16:14 +02:00
parent 30b91cf518
commit 5fdbb0ce89
10 changed files with 510 additions and 42 deletions

View file

@ -43,6 +43,16 @@ class ConfigTestCase(ModuleTestCase):
self.assertEqual(cfg2.catnamelong, True)
return cfg2
def prep_party(self, name='Party'):
""" new party
"""
Party = Pool().get('party.party')
party, = Party.create([{
'name': name,
'addresses': [('create', [{}])],
}])
return party
@with_transaction()
def test_config_create(self):
""" create config