Human Resources mailing list archives

hr@odoo-community.org

Avatar

Re: [OCA/hr] [IMP]: add unit in form selection widget (#1002)

by "Alexey Pelykh" <notifications@github.com> - 15/06/2021 14:57:44

@alexey-pelykh commented on this pull request.


In hr_holidays_credit/tests/test_hr_holidays_credit.py:

> @@ -148,7 +148,8 @@ def test_6(self):
         name = leave_type.with_context(
             employee_id=employee.id,
         ).name_get()[0][1]
-        self.assertTrue('available + credit' in name)
+        self.assertIn('available', name, '%s not found in %s' % ('available', name))

Runbot tests in en_US, so probably does not matter


You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.