mirror of
https://github.com/OCA/bank-statement-import.git
synced 2025-01-20 12:37:43 +02:00
[IMP] account_bank_statement_import_online_ponto: black, isort, prettier
This commit is contained in:
@@ -60,7 +60,8 @@ class TestAccountBankAccountStatementImportOnlineQonto(common.TransactionCase):
|
|||||||
return_value={"FR0214508000302245362775K46": "id"},
|
return_value={"FR0214508000302245362775K46": "id"},
|
||||||
)
|
)
|
||||||
self.mock_synchronisation = lambda: mock.patch(
|
self.mock_synchronisation = lambda: mock.patch(
|
||||||
_provider_class + "._ponto_synchronisation", return_value=None,
|
_provider_class + "._ponto_synchronisation",
|
||||||
|
return_value=None,
|
||||||
)
|
)
|
||||||
|
|
||||||
self.mock_transaction = lambda: mock.patch(
|
self.mock_transaction = lambda: mock.patch(
|
||||||
@@ -144,7 +145,8 @@ class TestAccountBankAccountStatementImportOnlineQonto(common.TransactionCase):
|
|||||||
def test_ponto(self):
|
def test_ponto(self):
|
||||||
with self.mock_transaction(), self.mock_header(), self.mock_synchronisation(), self.mock_account_ids(): # noqa: B950
|
with self.mock_transaction(), self.mock_header(), self.mock_synchronisation(), self.mock_account_ids(): # noqa: B950
|
||||||
lines, statement_values = self.provider._obtain_statement_data(
|
lines, statement_values = self.provider._obtain_statement_data(
|
||||||
datetime(2019, 11, 3), datetime(2019, 11, 17),
|
datetime(2019, 11, 3),
|
||||||
|
datetime(2019, 11, 17),
|
||||||
)
|
)
|
||||||
|
|
||||||
self.assertEqual(len(lines), 3)
|
self.assertEqual(len(lines), 3)
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
../../../../account_bank_statement_import_online_ponto
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
import setuptools
|
||||||
|
|
||||||
|
setuptools.setup(
|
||||||
|
setup_requires=['setuptools-odoo'],
|
||||||
|
odoo_addon=True,
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user