diff options
author | W. Trevor King <wking@drexel.edu> | 2010-01-19 09:04:09 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2010-01-19 09:04:09 -0500 |
commit | d8e23d5ef87a3ae4d6af38a28c095fc5a1bb1841 (patch) | |
tree | 9c1c84ec1abbf638e866b78b844548821f33dc56 | |
parent | d616494d67e5d50f85fccf12c2e679389f7445e1 (diff) | |
download | bugseverywhere-d8e23d5ef87a3ae4d6af38a28c095fc5a1bb1841.tar.gz |
Adjust command.serve.Serve doctest to clarify remaining test failures.
Current test output
$ python test.py libbe
...
FAILED (failures=1, errors=3)
All failures and errors due to unimplemented functionality
Errors:
* Darcs._vcs_isdir() not implemented (for Darcs <= 2.3.1)
* Arch._vcs_path() not implemented
* Arch._vcs_changed() not implemented
Failures:
* command.serve.Serve tests not implemented
-rw-r--r-- | libbe/command/serve.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libbe/command/serve.py b/libbe/command/serve.py index 26be6c1..ec25486 100644 --- a/libbe/command/serve.py +++ b/libbe/command/serve.py @@ -332,13 +332,16 @@ class BERequestHandler (server.BaseHTTPRequestHandler): class Serve (libbe.command.Command): """Serve a Storage backend for the HTTP storage client + >>> raise NotImplementedError, "Serve tests not yet implemented" + >>> import sys >>> import libbe.bugdir + >>> import libbe.command.list >>> bd = libbe.bugdir.SimpleBugDir(memory=False) >>> io = libbe.command.StringInputOutput() >>> io.stdout = sys.stdout >>> ui = libbe.command.UserInterface(io=io) >>> ui.storage_callbacks.set_storage(bd.storage) - >>> cmd = List(ui=ui) + >>> cmd = libbe.command.list.List(ui=ui) >>> ret = ui.run(cmd) abc/a:om: Bug A |