Esempio n. 1
0
def test_check_out_a_guest_releases_room():
  hotel = Hotel()
  hotel.check_in('Jim Maui', 301)
  hotel.check_out('Jim Maui')
Esempio n. 2
0
def test_check_out_a_guest():
  hotel = Hotel()
  hotel.check_in('Bob Dylan', 306)
  hotel.check_out('Bob Dylan')
  assert(('Bob Dylan' in hotel.guests()) == False)