-
-
Notifications
You must be signed in to change notification settings - Fork 322
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
printing_auto_base: remove mock on base test
- Loading branch information
Showing
1 changed file
with
0 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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): | ||
|