#NEWLINE# def test_openIPv6Count( self ) : #NEWLINE# #INDENT# mock_circuit_1 = mock . Mock ( ) #NEWLINE# mock_circuit_1 . circuit_type = CircuitType . IPv4 #NEWLINE# mock_circuit_2 = mock . Mock ( ) #NEWLINE# mock_circuit_2 . circuit_type = CircuitType . IPv6 #NEWLINE# self . cm . _open_circuit_dict = { #NEWLINE# #INDENT# 1 : mock_circuit_1 , #NEWLINE# 2 : mock_circuit_2 , #NEWLINE# #UNINDENT# } #NEWLINE# self . assertEqual ( self . cm . _openIPv6Count ( ) , 1 )