File: test_dbf.py

package info (click to toggle)
python-canmatrix 1.2~github-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,012 kB
  • sloc: xml: 30,201; python: 14,631; makefile: 31; sh: 7
file content (9 lines) | stat: -rw-r--r-- 177 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
import canmatrix.formats.dbc
import io


def test_empty_matrix_export():
    db = canmatrix.CanMatrix()
    outdbf = io.BytesIO()
    canmatrix.formats.dump(db, outdbf, "dbf")