Martin A. Brown
9cb92dce7c
build() only returns 0 (success) for all builds
...
before, the build() function lacked the logic to retain, and return that there
was a failure during the building of one of the documents; it now returns
a 1, which is passed directly to sys.exit(), if any single build fails
2016-03-01 22:21:29 -08:00
Martin A. Brown
b9f606988b
try to simplify testing logic
...
lots of adjustments to testing to make it more understandable (and
self-contained), although not much shorter
2016-03-01 19:53:33 -08:00
Martin A. Brown
914c37006b
complete missing logic in setupcollections
2016-02-29 18:05:51 -08:00
Martin A. Brown
40bcabbe79
check attrs before setting
2016-02-29 11:32:30 -08:00
Martin A. Brown
9643c44b7a
move many generic package testing tools
...
test_inventory was a good place to develop some of those tools, but they are
now needed for testing driver.py and others; moving them
2016-02-29 10:46:36 -08:00
Martin A. Brown
57ae52abde
simplify addfile, remove unused "content" feature
2016-02-17 10:19:23 -08:00
Martin A. Brown
d91f253bd4
pep8 and pyflakes fixes
2016-02-16 19:55:40 -08:00
Martin A. Brown
b9defe3e8b
more genericization of testing code
2016-02-16 14:12:42 -08:00
Martin A. Brown
d392965862
factoring out common testing utilities
...
renamed TestSourceCollection to TestToolsFilesystem for use in
testing both sources.py and outputs.py
2016-02-16 10:57:44 -08:00