aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_console.py4
-rw-r--r--test/test_flow.py6
2 files changed, 5 insertions, 5 deletions
diff --git a/test/test_console.py b/test/test_console.py
index 034f8ea1..ffcb31f7 100644
--- a/test/test_console.py
+++ b/test/test_console.py
@@ -69,7 +69,7 @@ class uState(libpry.AutoTree):
self._add_response(c)
self._add_request(c)
self._add_response(c)
- c.set_limit(filt.parse("~q"))
+ assert not c.set_limit("~q")
assert len(c.view) == 3
assert c.focus == 2
@@ -158,7 +158,7 @@ class uPathCompleter(libpry.AutoTree):
class uOptions(libpry.AutoTree):
def test_all(self):
- assert console.Options(beep=True)
+ assert console.Options(kill=True)
diff --git a/test/test_flow.py b/test/test_flow.py
index d2cb85dc..f29e1e80 100644
--- a/test/test_flow.py
+++ b/test/test_flow.py
@@ -275,7 +275,7 @@ class uState(libpry.AutoTree):
f = c.add_request(req)
assert len(c.view) == 1
- c.set_limit(filt.parse("~s"))
+ c.set_limit("~s")
assert len(c.view) == 0
resp = tutils.tresp(req)
c.add_response(resp)
@@ -287,9 +287,9 @@ class uState(libpry.AutoTree):
c.clientconnect(req.client_conn)
c.add_request(req)
assert len(c.view) == 2
- c.set_limit(filt.parse("~q"))
+ c.set_limit("~q")
assert len(c.view) == 1
- c.set_limit(filt.parse("~s"))
+ c.set_limit("~s")
assert len(c.view) == 1
def _add_request(self, state):