def test_get_hipchat_message_exited(self):
        user = {"first_name": "Joe"}
        project = {"title": "ACME"}

        message = get_hipchat_message(user, project, "exited")
        
        self.assertEqual(message, 'Joe has left ACME')
    def test_get_hipchat_message_entered(self):
        user = {"first_name": "Joe"}
        project = {"title": "ACME"}

        message = get_hipchat_message(user, project, "entered")

        assert message == 'Joe has arrived at ACME'