line: spalte 'empfänger', Feld 'reference' + tests
This commit is contained in:
parent
30b91cf518
commit
5fdbb0ce89
10 changed files with 510 additions and 42 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue