The-Encryption-Compendium / the-encryption-compendium

GNU General Public License v3.0
2 stars 0 forks source link

Improve test coverage for the research_assistant app's views #36

Closed kernelmethod closed 4 years ago

kernelmethod commented 4 years ago

As of e8190d3874622ee979164052e6d4cafa7709fbda, src/research_assistant/views.py has pretty poor test coverage (71.20% view codecov). The follow views seem to be heavily undertested:

The sign_up view also needs a test for the case where token isn't passed as a URL parameter.

At the very least, the research_dashboard and sign_up views need better test coverage, and research_edit_entries should probably also have better coverage. We might be able to hold off on research_list_my_entries as that may be superseded by a different view in the not-too-distant future.

prgu6170 commented 4 years ago

ede58e57035ad10aa5f58f6c5429d9ff83371978, 22c354be100967ef954d6fe9bbd84dfa41f8da5a, d7dc479b65578a91715e21617a87afe2a587899f, and 708981cc2f11608a602139df500432ed3960b15b