#NEWLINE# def test_ask_git_creds( self ) : #NEWLINE# #INDENT# p = spawn ( [ 'register' , '-n' , 'test/register' ] ) #NEWLINE# input_and_expect ( p , [ ( b'Please enter your Github username.*' , 'git-user' ) , ( b'Github Personal access token with read\\:org.*' , 'git-password' ) , ( b'Please supply a short \\(one line\\) description of.*' , None ) ] ) #NEWLINE# p . kill ( 0 )