def METHOD_NAME(self):
    form = self.wiz_form
    with self._mock("_parse_file") as mocked:
        mocked.return_value = self.parsed_catalog
        form.product_filename = "test.xml"
        mocked.assert_not_called()
        form.product_file = "AA=="
        mocked.assert_called()
        mocked.reset_mock()
        wiz = form.save()
        mocked.assert_not_called()
        wiz.import_button()
        mocked.assert_called()