Skip to content

Commit

Permalink
[IMP] l10n_br_account: document deny tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoParadeda committed Sep 23, 2024
1 parent e0a7a28 commit 98d5a43
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions l10n_br_account/tests/test_account_move_lc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1785,3 +1785,9 @@ def test_change_states(self):
document_id.action_document_back2draft()
self.assertEqual(self.move_out_venda.state, "draft")
self.assertEqual(document_id.state, "em_digitacao")

def test_document_deny(self):
document_id = self.move_out_venda.fiscal_document_id
self.assertEqual(self.move_out_venda.state, "draft")
document_id.exec_after_SITUACAO_EDOC_DENEGADA("em_digitacao", "denegada")
self.assertEqual(self.move_out_venda.state, "cancel")

0 comments on commit 98d5a43

Please sign in to comment.