aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command/serve.py
diff options
context:
space:
mode:
Diffstat (limited to 'libbe/command/serve.py')
-rw-r--r--libbe/command/serve.py5
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