#NEWLINE# def test_create_instance_with_userdata_with_non_b64_content( self ) : #NEWLINE# #INDENT# user_data_contents = '#!/bin/bash\necho "Oh no!"\n' #NEWLINE# _create_inst = self . _create_instance_with_user_data_json #NEWLINE# ( request , response , user_data ) = _create_inst ( user_data_contents ) #NEWLINE# self . assertEqual ( response . status_int , 400 ) #NEWLINE# self . assertIsNone ( user_data )