• Jérome Perrin's avatar
    test: add a test for zodb commmad and help driver · 2d94ae9d
    Jérome Perrin authored
    ----
    
    kirr: factor running `zodb ...` into zodbrun + add test for `zodb -h`.
    
    Added test currently passes on py2, but fails on py3:
    
    	out = <_io.TextIOWrapper encoding='UTF-8'>
    
    	    def usage(out):
    	        print("""\
    	    Zodb is a tool for managing ZODB databases.
    
    	    Usage:
    
    	        zodb command [arguments]
    
    	    The commands are:
    	    """, file=out)
    
    	        cmdv = command_dict.keys()
    	>       cmdv.sort()
    	E       AttributeError: 'dict_keys' object has no attribute 'sort'
    
    	zodbtools/zodb.py:55: AttributeError
    
    It will be fixed in the next patch.
    2d94ae9d
Name
Last commit
Last update
zodbtools Loading commit data...
.gitignore Loading commit data...
CHANGELOG.rst Loading commit data...
COPYING Loading commit data...
LICENSE-ZPL.txt Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
setup.py Loading commit data...
tox.ini Loading commit data...