def METHOD_NAME(project_with_runs):
    """Test listing activities."""
    activities = Activity.list()
    assert 2 == len(activities)
    assert isinstance(activities[0], Activity)
    assert isinstance(activities[1], Activity)