<s> import re <EOL> from create_instance import main <EOL> from gcp . testing . flaky import flaky <EOL> @ flaky <EOL> def test_main ( cloud_config , capsys ) : <EOL> main ( <EOL> cloud_config . project , <EOL> cloud_config . storage_bucket , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> wait = False ) <EOL> out , _ = capsys . readouterr ( ) <EOL> expected_output = re . compile ( <EOL> ( r'<STR_LIT>' <EOL> r'<STR_LIT>' ) , <EOL> re . DOTALL ) <EOL> assert re . search ( expected_output , out ) </s>
