[IMP] auto_backup: black, isort, prettier
parent
fedd9384df
commit
20af5f105b
|
@ -14,7 +14,7 @@
|
|||
"AdaptiveCity, "
|
||||
"Odoo Community Association (OCA)",
|
||||
"license": "AGPL-3",
|
||||
"website": "https://github.com/OCA/server-tools/",
|
||||
"website": "https://github.com/OCA/server-tools",
|
||||
"category": "Tools",
|
||||
"depends": ["mail"],
|
||||
"data": [
|
||||
|
|
|
@ -36,7 +36,9 @@ class DbBackup(models.Model):
|
|||
]
|
||||
|
||||
name = fields.Char(
|
||||
compute="_compute_name", store=True, help="Summary of this backup process",
|
||||
compute="_compute_name",
|
||||
store=True,
|
||||
help="Summary of this backup process",
|
||||
)
|
||||
folder = fields.Char(
|
||||
default=lambda self: self._default_folder(),
|
||||
|
|
|
@ -218,7 +218,8 @@ class TestDbBackup(common.TransactionCase):
|
|||
rec_id = self.new_record()
|
||||
res = rec_id.sftp_connection()
|
||||
self.assertEqual(
|
||||
pysftp.Connection(), res,
|
||||
pysftp.Connection(),
|
||||
res,
|
||||
)
|
||||
|
||||
def test_filename_default(self):
|
||||
|
|
Loading…
Reference in New Issue