#NEWLINE# def test_metadata_forward_localhost( self ) : #NEWLINE# #INDENT# self . flags ( metadata_port = '8775' ) #NEWLINE# self . flags ( metadata_host = '127.0.0.1' ) #NEWLINE# expected = '-s 0.0.0.0/0 -d 169.254.169.254/32 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8775' #NEWLINE# self . _test_add_metadata_forward_rule ( expected )