def METHOD_NAME():
    resp = Mock(**{'json.return_value': {'client_id': 'foo', 'client_secret': 'bar'}})
    sess = Mock(**{'post.return_value': resp})
    app = Mastodon.create_app("Mastodon.py test suite", api_base_url="example.com", session=sess)
    assert app == ('foo', 'bar')
    sess.post.assert_called()