#NEWLINE# def test_create( self ) : #NEWLINE# #INDENT# p = TestProgram . create ( 'name' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# self . addCleanup ( p . delete ) #NEWLINE# expected_keys = { 'stdout' , 'redirect_stderr' , 'stopwaitsecs' , 'startsecs' , 'stopsignal' , 'name' , 'log_dir' , 'startretries' , 'daemon_log' , 'exitcodes' } #NEWLINE# self . assertEqual ( set ( p . data . keys ( ) ) , expected_keys ) #NEWLINE# self . assertEqual ( p . state , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } )