Commit Graph

23 Commits

Author SHA1 Message Date
Martin A. Brown d16be1b076 adding 2016 LDP copyright to each file 2016-04-30 17:49:20 -04:00
Martin A. Brown dec201f50c pyflakes/pep8 adjustments 2016-04-28 12:12:27 -04:00
Martin A. Brown 2913600928 adding a copytree function to the testing framework 2016-04-02 11:59:29 -07:00
Martin A. Brown 4bfcda8602 update testing tools to wrangle MD5s
add some logic for generating, reading and comparing MD5s since the proper
code base is no longer using statinfo, but rather content checksums to
determine whether a rebuild is necessary
2016-04-02 10:52:39 -07:00
Martin A. Brown 8be3395f5f using unicode everywhere else 2016-03-27 02:11:30 -07:00
Martin A. Brown 1c7af7b634 fixing a dumb spelling error 2016-03-15 15:49:01 -07:00
Martin A. Brown daf272a329 switch to codecs.open and expect UTF-8 data 2016-03-14 21:47:48 -07:00
Martin A. Brown d99448609d prepare to support Python3 and Python2 (utf-8 all in/out) 2016-03-14 21:18:33 -07:00
Martin A. Brown a3e3e6106f suppress the "system" config during testing 2016-03-10 08:27:07 -08:00
Martin A. Brown 7e3fa95813 minor simplifications to testing tools 2016-03-09 20:52:45 -08:00
Martin A. Brown d2657321d6 create generic functions for runtime config 2016-03-09 18:11:04 -08:00
Martin A. Brown f848040e60 improving overall coverage 2016-03-07 22:13:38 -08:00
Martin A. Brown 0ff6dc5594 support the config.builddir in the testing suite 2016-03-07 20:00:22 -08:00
Martin A. Brown 78e67c0e6c pep8/pyflakes 2016-03-01 22:47:15 -08:00
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