Ubuntu

Add unit tests to snapcraft/wiki.py

Snapcraft builds snap packages. The packages can get common parts from a wiki page. The module that downloads parts from the wiki page is missing one test to get to 100% coverage.

You task is to add the last unit test and submit a pull request to the project, https://github.com/ubuntu-core/snapcraft/.

About snapcraft: https://developer.ubuntu.com/en/snappy/build-apps/

The source file: https://github.com/ubuntu-core/snapcraft/blob/master/snapcraft/wiki.py

About unittests for python: https://docs.python.org/3/library/unittest.html

Task tags

  • python
  • unittest
  • snappy
  • snapcraft

Students who completed this task

Rob1507

Task type

  • code Code
  • done_all Quality Assurance
close

2015