def test_get_recent_pid(self):
    with self.app.app_context():
        p_id = get_recent_pid(self.fm, self.user)
    assert (p_id == 4)
def test_get_recent_pid(self):
    with self.app.app_context():
        p_id = get_recent_pid(self.fm, self.user)
    assert (p_id == 4)