def METHOD_NAME(self, execute_task):
    execute_task('target2')
    with Session() as session:
        query = session.query(EntryTimeFrame).all()
        assert len(query) == 1, 'There should be one tracked entity present.'
        assert query[0].status == 'accepted', 'Should be accepted.'