=== modified file 'runtests.sh'
--- runtests.sh 2015-10-02 14:28:48 +0000
+++ runtests.sh 2015-10-14 21:15:11 +0000
@@ -68,7 +68,7 @@
if which python3-coverage >/dev/null 2>&1; then
python3-coverage erase
- python3-coverage run --branch --source snapcraft -m unittest
+ python3-coverage run --branch --source snapcraft --omit 'snapcraft/tests/*' -m unittest
mv .coverage .coverage.unit
else
python3 -m unittest
=== modified file 'snapcraft/wiki.py'
--- snapcraft/wiki.py 2015-10-14 23:15:41 +0000
+++ snapcraft/wiki.py 2015-10-15 16:17:37 +0000
@@ -51,6 +51,11 @@
return self.wiki_parts[name]
def compose(self, name, properties):
+ '''Returns the composition of the parts properties from name
+ and composes them into properties.
+
+ If there is no wiki part with name, the same properties are returned.
+ '''
self._fetch()
wiki_properties = self.wiki_parts.get(name, {})