aboutcode-org / scancode-server

This project is no longer maintained. Visit https://github.com/nexB/scancode.io/ instead for similar and current project
https://github.com/nexB/scancode.io/
19 stars 17 forks source link

Writing tests for newly added code #89

Open singh1114 opened 7 years ago

singh1114 commented 7 years ago

Recently we added a whole lot untested code into the repository. This ticket is created to keep in mind that tests are needed to be written for the stuff added into the repository.

Basically, the stuff added to the repository is related to the scanning of the special URL's. We used a package to parse the different URL's. Using that module we can easily differentiate between what is the type of URL is coming our way.

This ticket will include writing tests for the newly added views and newly added functions.