kategorie: export als qif
This commit is contained in:
parent
94e60cf5c1
commit
b50927753b
10 changed files with 376 additions and 1 deletions
|
@ -123,6 +123,54 @@ Lebensmittel (out)""")
|
|||
self.assertEqual(records[13].rec_name, 'Telekommunikation/Telefon')
|
||||
self.assertEqual(records[14].rec_name, 'Telekommunikation/Telefon/Test1')
|
||||
|
||||
result = Category.export_as_qif()
|
||||
self.assertEqual(result, """!Type:Cat
|
||||
NFernsehen
|
||||
E
|
||||
^
|
||||
NFernsehen:GEZ
|
||||
E
|
||||
^
|
||||
NFernsehen:TV-Company
|
||||
E
|
||||
^
|
||||
NLebensmittel
|
||||
E
|
||||
^
|
||||
NTelefon
|
||||
E
|
||||
^
|
||||
NTelefon:Telco1-Tablett
|
||||
E
|
||||
^
|
||||
NTelefon:Telco2-Handy
|
||||
E
|
||||
^
|
||||
NTelefon:Telco3
|
||||
E
|
||||
^
|
||||
NTelekommunikation
|
||||
E
|
||||
^
|
||||
NTelekommunikation:Fernsehen
|
||||
E
|
||||
^
|
||||
NTelekommunikation:Online-Dienste
|
||||
E
|
||||
^
|
||||
NTelekommunikation:Telefon
|
||||
E
|
||||
^
|
||||
NTelekommunikation:Telefon:Test1
|
||||
E
|
||||
^
|
||||
NGehalt
|
||||
I
|
||||
^
|
||||
NGehalt:Zulagen
|
||||
I
|
||||
^""")
|
||||
|
||||
@with_transaction()
|
||||
def test_category_create_by_qif_existing_categories(self):
|
||||
""" create categories by import a qif-file,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue