#NEWLINE# def test_metadata_accept_ipv6_localhost( self ) : #NEWLINE# #INDENT# self . flags ( metadata_port = '8775' ) #NEWLINE# self . flags ( metadata_host = '::1' ) #NEWLINE# expected = '-p tcp -m tcp --dport 8775 -m addrtype --dst-type LOCAL -j ACCEPT' #NEWLINE# self . _test_add_metadata_accept_ipv6_rule ( expected )