mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP] Check persons Onboard reservation
This commit is contained in:
@@ -91,15 +91,9 @@ class TestPmsCheckinPartner(TestHotel):
|
||||
# ARRANGE
|
||||
self.arrange_single_checkin()
|
||||
|
||||
# ACT
|
||||
self.checkin1.action_on_board()
|
||||
|
||||
# ASSERT
|
||||
self.assertEqual(
|
||||
self.checkin1.state,
|
||||
"onboard",
|
||||
"the partner checkin was not successful",
|
||||
)
|
||||
# ACT & ASSERT
|
||||
with self.assertRaises(ValidationError), self.cr.savepoint():
|
||||
self.reservation_1.state = "onboard"
|
||||
|
||||
def test_onboard_reservation(self):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user