#NEWLINE# def test_get_saved_rules( self ) : #NEWLINE# #INDENT# '\n        Test if it return a data structure of the rules in the conf file\n        ' #NEWLINE# mock = MagicMock ( return_value = False ) #NEWLINE# with patch . object ( iptables , '_parse_conf' , self ) : #NEWLINE# #INDENT# self . assertFalse ( iptables . get_saved_rules ( ) ) #NEWLINE# mock . assert_called_with ( conf_file = None , family = 'ipv4' )