-
Committer:
Martin Soto
-
Date:
2010-09-07 21:06:40 UTC
-
Revision ID:
donsoto@gmail.com-20100907210640-wywjh4vrlsc3me3g
Convert the modelimport command into a new-style, command-line operation
* relrdf/cmdline/importfile.py: Renamed from bin/modelimport. Converted
to a new-style, command-line operation. Errors during parsing are now
trapped and properly converted into CommandLineError.
* relrdf/cmdline/maincmd.py (HelpOperation.operationNames, getOperation):
Register the 'import' command.
* unit/cmdline.py (BasicTestCase.setUp, BasicTestCase._runCommand): Add
support for passing a predefined set of object-selection options to
every command that is run by the tests.
(ModelMbDefSetDefaultTestCase): Test case for the import operation.