def test_join_full(self):
     with HTTMock(event_full):
         self.assertFalse(
             coucheventjoiner.join_event(requests.Session(), "https://www.couchsurfing.org/n/events/eventname")
         )
 def test_join(self):
     with HTTMock(join_ok):
         self.assertTrue(
             coucheventjoiner.join_event(requests.Session(), "https://www.couchsurfing.org/n/events/eventname")
         )