[ADD,IMP]:add a python test case in website_forum

[IMP]:improve test case

[IMP]:improve code

[IMP]:Improve code