#NEWLINE# def test_default_manifest_with_custom_channel( self ) : #NEWLINE# #INDENT# io_lim = 4294967296 #NEWLINE# expected = 'Node = 1\nVersion = 20130611\nTimeout = 50\nMemory = 4294967296,0\nProgram = /tmp/zvsh/boot.1\nChannel = /dev/stdin,/dev/stdin,0,0,%(lim)s,%(lim)s,0,0\nChannel = /tmp/zvsh/stdout.1,/dev/stdout,0,0,0,0,%(lim)s,%(lim)s\nChannel = /tmp/zvsh/stderr.1,/dev/stderr,0,0,0,0,%(lim)s,%(lim)s\nChannel = /tmp/zvsh/nvram.1,/dev/nvram,3,0,%(lim)s,%(lim)s,%(lim)s,%(lim)s\nChannel = /path/to/python.tar,/dev/5.python.tar,3,0,%(lim)s,%(lim)s,%(lim)s,%(lim)s' #NEWLINE# expected %= dict ( lim = io_lim ) #NEWLINE# man = zvsh . Manifest . default_manifest ( '/tmp/zvsh' , '/tmp/zvsh/boot.1' ) #NEWLINE# python_chan = zvsh . Channel ( '/path/to/python.tar' , '/dev/5.python.tar' , zvsh . RND_READ_RND_WRITE ) #NEWLINE# man . channels . append ( python_chan ) #NEWLINE# assert ( expected == man . dumps ( ) )