diff options
Diffstat (limited to 'test/test_console.py')
-rw-r--r-- | test/test_console.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/test_console.py b/test/test_console.py index 179b116d..93312824 100644 --- a/test/test_console.py +++ b/test/test_console.py @@ -105,11 +105,12 @@ class uformat_keyvals(libpry.AutoTree): class uformat_flow(libpry.AutoTree): def test_simple(self): f = utils.tflow() - assert ('focus', '>> ') not in console.format_flow(f, False) - assert ('focus', '>> ') in console.format_flow(f, True) + foc = ('focus', '>>') + assert foc not in console.format_flow(f, False) + assert foc in console.format_flow(f, True) - assert ('focus', '>> ') not in console.format_flow(f, False, True) - assert ('focus', '>> ') in console.format_flow(f, True, True) + assert foc not in console.format_flow(f, False, True) + assert foc in console.format_flow(f, True, True) f.response = utils.tresp() f.request = f.response.request |