Martin A. Brown
8cbdeab558
provide directory existence feedback to user
...
instead of bailing with an obnoxious error message, or silently ignoring a
command-line option of a directory, squawk to STDERR with the problem and
provide (possibly redundant, but maybe informative) traceback
2016-03-28 11:11:22 -07:00
Martin A. Brown
74544227b8
toss in the sample broken docbook4xml file
2016-03-27 02:26:15 -07:00
Martin A. Brown
7c98b13db6
add an example to prove that publish() exits non-zero
2016-03-27 02:25:46 -07:00
Martin A. Brown
6d2040c671
add a broken example docbook4xml file
2016-03-27 02:25:23 -07:00
Martin A. Brown
30594d5e4e
using unicode everywhere else
2016-03-27 02:14:10 -07:00
Martin A. Brown
2ce65990c4
correcting and moving test because it runs long
2016-03-27 02:11:52 -07:00
Martin A. Brown
8be3395f5f
using unicode everywhere else
2016-03-27 02:11:30 -07:00
Martin A. Brown
f2ef7d2184
support --script mode anywhere and don't chdir()
2016-03-24 09:00:20 -07:00
Martin A. Brown
1c7af7b634
fixing a dumb spelling error
2016-03-15 15:49:01 -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
ec472d8e37
Exception.message deprecated
2016-03-14 22:25:43 -07:00
Martin A. Brown
23aab88e95
Exception.message deprecated; use io.StringIO()
2016-03-14 22:25:27 -07:00
Martin A. Brown
7c17c0dc5b
switch to codecs.open and expect UTF-8 data
2016-03-14 21:51:14 -07:00
Martin A. Brown
0d93e6fca1
switch to codecs.open and expect UTF-8 data
2016-03-14 21:48:01 -07:00
Martin A. Brown
946b839b60
switch to codecs.open and expect UTF-8 data
2016-03-14 21:47:54 -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
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
514af22aea
io.StringIO exists in both Python 2 and Python 3
2016-03-14 20:38:50 -07:00
Martin A. Brown
30a5950564
close the file before passing to guess()
2016-03-14 20:35:23 -07:00
Martin A. Brown
ad681cd618
assertEquals becomes assertEqual
2016-03-14 20:14:24 -07:00
Martin A. Brown
a720f4e4b6
switich to io.StringIO for Python 3 and assertEqual (drop the s)
2016-03-14 20:14:10 -07:00
Martin A. Brown
762870209c
assertEquals becomes assertEqual
2016-03-14 20:11:17 -07:00
Martin A. Brown
def752760e
use a context to prevent FD leakage
2016-03-14 20:07:40 -07:00
Martin A. Brown
bdbccb6823
use symbolic mode composition
2016-03-14 20:05:25 -07:00
Martin A. Brown
190483d2f6
adjust to slightly different output formattincg
2016-03-10 10:42:33 -08:00
Martin A. Brown
a1b11e6336
add testing of docbook5xml
2016-03-10 10:27:24 -08:00
Martin A. Brown
54cb36f31f
adding another bad invocation test
2016-03-10 09:30:53 -08:00
Martin A. Brown
70a10a5f7c
adding a single index entry
2016-03-10 09:28:55 -08:00
Martin A. Brown
bcb38bdd7d
tiny index
2016-03-10 09:27:54 -08:00
Martin A. Brown
cd7e325c59
add small image file
2016-03-10 08:57:19 -08:00
Martin A. Brown
2180755a97
pep8/pyflakes fixes
2016-03-10 08:48:17 -08:00
Martin A. Brown
abbd433ea1
removed longer tests; pep8/pyflakes fixes
2016-03-10 08:47:44 -08:00
Martin A. Brown
4ad4fae41b
creating separate file for longer-running tests
2016-03-10 08:47:34 -08:00
Martin A. Brown
96aacb8f5c
skip these tests during usual testing (try to stay under 1 sec.)
2016-03-10 08:27:53 -08:00
Martin A. Brown
a3e3e6106f
suppress the "system" config during testing
2016-03-10 08:27:07 -08:00
Martin A. Brown
1ed38c7c0c
improving testing coverage in driver.py
2016-03-09 21:57:25 -08:00
Martin A. Brown
4410fd8fc9
DocBook SGML document with index
2016-03-09 21:49:41 -08:00
Martin A. Brown
7e3fa95813
minor simplifications to testing tools
2016-03-09 20:52:45 -08:00
Martin A. Brown
4f05c202be
slight reorganizing of test sets in file
2016-03-09 18:16:02 -08:00
Martin A. Brown
4901ed94d2
improve testing coverage
2016-03-09 18:11:38 -08:00
Martin A. Brown
d2657321d6
create generic functions for runtime config
2016-03-09 18:11:04 -08:00
Martin A. Brown
c66b325530
improving test coverage of driver.py
2016-03-09 09:35:11 -08:00
Martin A. Brown
a488ae53de
add testing support for new format Asciidoc
2016-03-09 08:09:52 -08:00
Martin A. Brown
631e8fed83
.
2016-03-09 08:09:36 -08:00
Martin A. Brown
f848040e60
improving overall coverage
2016-03-07 22:13:38 -08:00
Martin A. Brown
6a97e4058a
improve orphan verbosity testing
2016-03-07 20:01:26 -08:00
Martin A. Brown
0ff6dc5594
support the config.builddir in the testing suite
2016-03-07 20:00:22 -08:00