Example #1
0
def retrieve_last_activities_of_owner(step):

    world.activities = ActivityManager.get_mine()
Example #2
0
def retrieve_owner_activities_from_date(step, date):

    world.activities = ActivityManager.get_mine(date)
Example #3
0
def checks_that_deletion_activity_was_created(step):
    activity = ActivityManager.get_mine().first()
    assert activity is not None
    assert activity.verb == "deletes", activity.toDict()
    assert activity.docType == "note"
    assert activity.isMine