interactive client: improve watch function
- watch is now a command, not a module method - finish watching with ctrl-C - watching an io module logs communication - add bin/frappy-cli to start interactive client + remove sorted function from StructOf.format_value Change-Id: I7dd707473e4534f2d39c5d6afc533c2d872380f8
This commit is contained in:
@ -474,7 +474,7 @@ def test_StructOf():
|
||||
assert dt.import_value({'an_int': 13, 'a_string': 'WFEC'}) == {
|
||||
'a_string': 'WFEC', 'an_int': 13}
|
||||
|
||||
assert dt.format_value({'an_int':2, 'a_string':'Z'}) == "{a_string='Z', an_int=2}"
|
||||
assert dt.format_value({'an_int': 2, 'a_string': 'Z'}) == "{an_int=2, a_string='Z'}"
|
||||
|
||||
dt = StructOf(['optionalmember'], optionalmember=EnumType('myenum', single=0))
|
||||
copytest(dt)
|
||||
|
Reference in New Issue
Block a user