def test_remove_entry_calls_remove_section(self, mock_config_parser):
     name = "test"
     venvs_parser = VenvsConfigParser(mock_config_parser)
     venvs_parser.remove_entry(name)
     mock_config_parser.remove_section.assert_called_once_with(name)
 def test_remove_entry_saved(self, mock_config_parser, mock_saver):
     venvs_parser = VenvsConfigParser(mock_config_parser)
     venvs_parser.remove_entry("test")
     assert mock_saver.call_count