Skip to content

Commit

Permalink
printing_auto_base: remove mock on base test
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaudoux committed Dec 6, 2024
1 parent 3d66d68 commit 378f6f7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions printing_auto_base/tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,14 @@
# Copyright 2022 Michael Tietz (MT Software) <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from unittest import mock

from odoo.tests import common

from odoo.addons.base_report_to_printer.models.printing_printer import PrintingPrinter


def print_document(cls, *args, **kwargs):
return


@mock.patch.object(PrintingPrinter, "print_document", print_document)
class TestPrintingAutoCommon(common.SavepointCase):
@classmethod
def _create_printer(cls, name):
Expand Down

0 comments on commit 378f6f7

Please sign in to comment.