File: test_interchange.py

package info (click to toggle)
python-babelfont 3.0.6~ds-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,740 kB
  • sloc: xml: 33,013; python: 5,762; makefile: 68
file content (14 lines) | stat: -rw-r--r-- 332 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from babelfont import load


# Just testing that it works at all.


def test_ufo_to_glyphs():
    font = load("tests/data/Test1.ufo")
    font.save("tests/data/Test1-from-ufo.glyphs")


# def test_glyphs_to_ufo():
#     font = Babelfont.open("tests/data/Test1.glyphs")
#     Babelfont.save(font, "tests/data/Test1-from-glyphs.ufo")