[IMP] mail_activity_done: black, isort, prettier

This commit is contained in:
Bernat Puig Font 2022-01-19 12:36:28 +01:00
parent add4366818
commit 059bc27319
3 changed files with 8 additions and 1 deletions

View File

@ -32,7 +32,7 @@ class TestMailActivityDoneMethods(TransactionCase):
def test_mail_activity_done(self): def test_mail_activity_done(self):
self.act1.done = True self.act1.done = True
self.assertEquals(self.act1.state, "done") self.assertEqual(self.act1.state, "done")
def test_systray_get_activities(self): def test_systray_get_activities(self):
act_count = self.employee.sudo(self.employee).systray_get_activities() act_count = self.employee.sudo(self.employee).systray_get_activities()

View File

@ -0,0 +1 @@
../../../../mail_activity_done

View File

@ -0,0 +1,6 @@
import setuptools
setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)