mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Merge branch 'TXN_TYPE-is-dynamic' xaccTransGetTxnType into maint #1201
This commit is contained in:
@@ -112,15 +112,6 @@ class TestTransaction(TransactionSession):
|
||||
self.trans.ClearReadOnly()
|
||||
self.assertEqual( None, self.trans.GetReadOnly() )
|
||||
|
||||
def test_txntype(self):
|
||||
self.assertEqual( '\x00', self.trans.GetTxnType() )
|
||||
TYPE = 'I'
|
||||
self.trans.SetTxnType(TYPE)
|
||||
self.assertEqual( TYPE, self.trans.GetTxnType() )
|
||||
TYPE = 'P'
|
||||
self.trans.SetTxnType(TYPE)
|
||||
self.assertEqual( TYPE, self.trans.GetTxnType() )
|
||||
|
||||
def test_num(self):
|
||||
NUM = '5'
|
||||
self.assertEqual( '', self.trans.GetNum() )
|
||||
|
||||
Reference in New Issue
Block a user