def test_make_monkey_friends(app):
    samir, sasha = create_monkeys()

    make_friends(sasha, "samir")

    assert sasha.followers.count() == 1
    assert samir.followers.count() == 1
    assert "sasha_grey" == samir.followers[0].name
    assert "samir" == sasha.followers[0].name
def test_unfriend_monkeys(app):
    samir, sasha = create_monkeys()

    make_friends(sasha, "samir")

    monkey_id_list = [samir.id, sasha.id]
    unfriend_monkeys(monkey_id_list)

    assert sasha.followers.count() == 0
    assert samir.followers.count() == 0