Skip to content

[TEST] Add test for CTe IBSCBS xsdata patch#152

Merged
rvalyi merged 1 commit intomasterfrom
add-cte-ibscsb-test
Mar 30, 2026
Merged

[TEST] Add test for CTe IBSCBS xsdata patch#152
rvalyi merged 1 commit intomasterfrom
add-cte-ibscsb-test

Conversation

@rvalyi
Copy link
Copy Markdown
Member

@rvalyi rvalyi commented Mar 30, 2026

This PR adds a test to verify that the IBSCBS field in CTe bindings uses the correct TtribCte type instead of str.

Changes

  • Added test_patched_xsdata_for_ibscsb to tests/cte/test_cte.py
  • Tests all three CTe document types: Tcte, TcteOs, and TcteSimp

Context

This test ensures the namespace fix from PR #151 is properly applied. Similar to the existing NFe IBSCBS test (see tests/nfe/test_nfe.py).

References

Add test_patched_xsdata_for_ibscsb to verify that the IBSCBS field
in CTe bindings uses TtribCte type instead of str.

This test ensures the namespace fix from PR #151 is properly applied
to all three CTe document types (Tcte, TcteOs, TcteSimp).

Refs: #151
@rvalyi rvalyi merged commit f1e0825 into master Mar 30, 2026
8 checks passed
@ak-git-bot ak-git-bot deleted the add-cte-ibscsb-test branch March 30, 2026 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants