Skip to content

Commit

Permalink
edi: test_same_code_same_backend mute sql logger
Browse files Browse the repository at this point in the history
  • Loading branch information
simahawk committed Nov 21, 2023
1 parent d267c5f commit 7b4bdd0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions edi_oca/tests/test_exchange_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

from freezegun import freeze_time

from odoo.tools import mute_logger

from .common import EDIBackendCommonTestCase


Expand All @@ -23,6 +25,7 @@ def test_ack_for(self):
self.exchange_type_out_ack.ack_for_type_ids.ids,
)

@mute_logger("odoo.sql_db")
def test_same_code_same_backend(self):
with self.assertRaises(Exception) as err:
self.exchange_type_in.copy({"code": "test_csv_input"})
Expand Down

0 comments on commit 7b4bdd0

Please sign in to comment.