예제 #1
0
def get_contributor_events(user):
    return FakeQuery(sort=[desc("date")])
예제 #2
0
def get_complete_events(sort, time):
    assert sort == "new" and time == "all"
    return FakeQuery(sort=[desc("date")])
예제 #3
0
def get_reported_events():
    return FakeQuery(sort=[desc("action_date")])
예제 #4
0
def get_active_events():
    return FakeQuery(sort=[desc("active_visitors")], precomputed=True)