11 Commits

Author SHA1 Message Date
Cosimo Lupo
49bcbb916b
consistently do sys.exit(unittest.main()) in all test modules
So that when run as scrips they report test failures with exit code

Follow up on b7bb391033ef3255c90134da3d7aef50d2d5326d
2017-01-11 13:05:35 +00:00
Cosimo Lupo
c4e05b48b3 [t1Lib_test] forgot to add unittest.main()
I use py.test ;)
2015-10-26 05:23:59 +00:00
Cosimo Lupo
620db1f9a3 [t1Lib_test] also test parsing LWFN (dumped to data fork) 2015-10-26 04:40:04 +00:00
Cosimo Lupo
4b9087c000 [t1Lib] add TestT1-Regular.lwfn to testdata 2015-10-26 04:40:04 +00:00
Cosimo Lupo
fb6efd0f23 [t1Lib] use macRes.ResourceReader to read 'POST' resources from LWFN;
add comment about Res.FSpCreateResFile being deprecated since OS X 10.5

(a resource file writer would be nice, by low priority)
2015-10-26 04:40:04 +00:00
Cosimo Lupo
8279095b6f [t1Lib_test] add test cases for parsing and writing PS Type1 2015-10-22 19:55:34 +01:00
Cosimo Lupo
dfce582196 add test PS Type1 fonts in .pfa and .pfb format 2015-10-22 19:55:34 +01:00
Cosimo Lupo
6c51e3de97 [t1Lib] fix TypeError in writeOther func 2015-10-22 19:55:34 +01:00
Cosimo Lupo
aa7753cebf [t1Lib] add 'dohex' kwarg to saveAs (it only applies to 'OTHER' type (PFA)) 2015-10-22 19:55:34 +01:00
Cosimo Lupo
07042e7c88 [t1Lib] fix longToString function 2015-10-22 19:55:33 +01:00
Cosimo Lupo
6523449cc8 [t1Lib] mv t1Lib.py t1Lib/__init__.py 2015-10-22 19:55:33 +01:00