#NEWLINE# def test_create( self ) : #NEWLINE# #INDENT# for dut in api . duts : #NEWLINE# #INDENT# dut . config ( [ 'no username test' , 'username test nopassword' ] ) #NEWLINE# api = dut . api ( 'users' ) #NEWLINE# result = api . create ( 'test' , nopassword = True ) #NEWLINE# self . assertTrue ( result ) #NEWLINE# self . assertIn ( 'username test privilege 1' , api . config )