View a particular resource of a community, view function+unitest+template

Fix flake8 error