Skip to content

Commit

Permalink
Merge PR #149 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Oct 19, 2023
2 parents 66bb8ac + d71009c commit d1ecfc5
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions hr_attendance_rfid/tests/test_hr_attendance_rfid_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@


class TestHrAttendance(TransactionCase):
def setUp(self):
super().setUp()
self.employee_model = self.env["hr.employee"]
self.test_employee = self.browse_ref("hr.employee_al")
self.rfid_card_code = "5b3f5"
self.test_employee.rfid_card_code = self.rfid_card_code
@classmethod
def setUpClass(cls):
super().setUpClass()
cls.employee_model = cls.env["hr.employee"]
cls.test_employee = cls.env.ref("hr.employee_al")
cls.rfid_card_code = "5b3f5"
cls.test_employee.rfid_card_code = cls.rfid_card_code

def test_valid_employee(self):
"""Valid employee"""
Expand Down

0 comments on commit d1ecfc5

Please sign in to comment.