Example #1
0
def test_check_in_a_guest():
  hotel = Hotel()
  hotel.check_in('Bob Barker', 302)
  assert(('Bob Barker' in hotel.guests()) == True)
Example #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)