Commit Graph

30 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 af80925d70 remove references to unused statinfo stuff 2016-04-02 11:58:19 -07:00
Martin A. Brown 673ddaf3e9 skip any directories on stat expedition 2016-04-01 22:17:53 -07:00
Martin A. Brown 30594d5e4e using unicode everywhere else 2016-03-27 02:14:10 -07:00
Martin A. Brown 1eec325d9e Exception.message deprecated; just make sure which returns not None 2016-03-14 22:26:15 -07:00
Martin A. Brown 5824be20da remove import of makefh(), too 2016-03-14 20:52:53 -07:00
Martin A. Brown f20fb1c481 no point in using makefh() now; remove 2016-03-14 20:51:55 -07:00
Martin A. Brown 10854ad6df get rid of another FD leakage (in tests, not a big deal) 2016-03-14 20:50:59 -07:00
Martin A. Brown ad681cd618 assertEquals becomes assertEqual 2016-03-14 20:14:24 -07:00
Martin A. Brown bdbccb6823 use symbolic mode composition 2016-03-14 20:05:25 -07:00
Martin A. Brown 2180755a97 pep8/pyflakes fixes 2016-03-10 08:48:17 -08:00
Martin A. Brown 904f0004bd add new coverage for swapdirs; improve coverage, as well 2016-03-07 19:59:27 -08:00
Martin A. Brown 247019e646 pep8 fixes 2016-02-29 18:05:14 -08:00
Martin A. Brown ddb5424941 get 100% coverage on the utils.py module 2016-02-29 11:32:01 -08:00
Martin A. Brown 7633cd1c49 adding a missed test for arg_isdirectory 2016-02-29 10:47:30 -08:00
Martin A. Brown a7c5df6253 renaming testdata to sample-documents 2016-02-26 12:26:41 -08:00
Martin A. Brown 8c69e05f94 beefing up some testing for new functions 2016-02-23 13:10:10 -08:00
Martin A. Brown f200c0efc2 add function stem_and_ext to the utils 2016-02-19 00:54:16 -08:00
Martin A. Brown 1578e282cc ensure that statfiles includes directories
statfiles was not including directories; it does now
2016-02-18 21:55:56 -08:00
Martin A. Brown a9203de709 switched to ValueError (more specific Exception) 2016-02-18 17:24:00 -08:00
Martin A. Brown 62198e5973 in execute, before Popen, ensure cmd[0] has +x
rename is_executable() to isexecutable()
adjust testing code to match change to execute()
2016-02-18 09:13:46 -08:00
Martin A. Brown 875e2b2c23 pep8/pyflakes corrections 2016-02-17 19:36:52 -08:00
Martin A. Brown bc810dd36c deal with the ENOENT problem in statfiles() 2016-02-17 18:16:20 -08:00
Martin A. Brown 515595cac9 improve statfiles, deprecate ill-conceived fileset
statfiles now returns a dict() of statinfo and can handle relative paths
2016-02-17 11:18:47 -08:00
Martin A. Brown f72583fca6 improve and generalize statfiles and getfileset
statfiles is the heavy lifter; call os.stat() while walking the directory
simplify getfileset; use the keys returned in the statinfo dict()
2016-02-17 10:17:19 -08:00
Martin A. Brown d91f253bd4 pep8 and pyflakes fixes 2016-02-16 19:55:40 -08:00
Martin A. Brown 9845e90a39 adding testing for execute and new function getfileset 2016-02-16 19:52:07 -08:00
Martin A. Brown eaf2823fd6 read examples data from testdata dir; adapt tests
adapt tests to accommodate storing the test data in a separate directory
inspect example objects for signature checking (and extension checking)
adhere to pep8 and pyflakes conventions
2016-02-13 10:54:38 -08:00
Martin A. Brown 39ca112e40 initial test suite framework and first tests 2016-02-12 23:48:48 -08:00