Last active
May 8, 2017 22:18
-
-
Save josemoralesp/caf680ba28e021d36f91d98d79042cc5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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