Skip to content

Instantly share code, notes, and snippets.

@josemoralesp
Last active May 8, 2017 22:18
Show Gist options
  • Save josemoralesp/caf680ba28e021d36f91d98d79042cc5 to your computer and use it in GitHub Desktop.
Save josemoralesp/caf680ba28e021d36f91d98d79042cc5 to your computer and use it in GitHub Desktop.
def test_002_get_coa_xml_misconfigured(self):
"""Verify that XML to CoA report is not generated with misconfigured
accounts"""
self.account_obj.create({
'code': '989.09',
'name': 'Account Test CoA',
'user_type_id': self.account_type_cash.id,
})
options = self.report_coa.get_options()
data = self.report_coa.get_lines(options)
self.assertIn(
'This XML could not be generated because some accounts are not '
'correctly configured', data)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment