diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-04-23 23:49:07 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-03 11:43:49 +0100 |
commit | 6451c08c7b666992cf99d297c3c1d2226f94e83b (patch) | |
tree | d98c2000d35189b4d01ee75e0f4595df83d592f1 /scripts/tests/02_wic_test_directdisk.py | |
parent | 9fbfd4011a4c770478ab9d4cb91a645468f74c55 (diff) | |
download | poky-6451c08c7b666992cf99d297c3c1d2226f94e83b.tar.gz |
wic tests: Add docstrings to test methods
Docstrings make nosetests output more clear:
Test wic create --help ... ok
Test wic --help ... ok
Test wic list --help ... ok
Test wic create directdisk providing all artifacts. ... ok
Test wic create directdisk --image-name core-image-minimal ... ok
(From OE-Core rev: 3a7ea88528619fdc9d2a0cc0d136e339126e8861)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/tests/02_wic_test_directdisk.py')
-rw-r--r-- | scripts/tests/02_wic_test_directdisk.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/tests/02_wic_test_directdisk.py b/scripts/tests/02_wic_test_directdisk.py index 9108621fbe..6beff71488 100644 --- a/scripts/tests/02_wic_test_directdisk.py +++ b/scripts/tests/02_wic_test_directdisk.py | |||
@@ -48,10 +48,12 @@ class TestWicDirectdisk(unittest.TestCase): | |||
48 | "directdisk-*.direct"))) | 48 | "directdisk-*.direct"))) |
49 | 49 | ||
50 | def testbuild_image_name(self): | 50 | def testbuild_image_name(self): |
51 | """Test wic create directdisk --image-name core-image-minimal""" | ||
51 | self._build(["create", "directdisk", | 52 | self._build(["create", "directdisk", |
52 | "--image-name", "core-image-minimal"]) | 53 | "--image-name", "core-image-minimal"]) |
53 | 54 | ||
54 | def testbuild_artifacts(self): | 55 | def testbuild_artifacts(self): |
56 | """Test wic create directdisk providing all artifacts.""" | ||
55 | self._build(["create", "directdisk", | 57 | self._build(["create", "directdisk", |
56 | "-b", "tmp/sysroots/qemux86/usr/share", | 58 | "-b", "tmp/sysroots/qemux86/usr/share", |
57 | "-k", "tmp/deploy/images/qemux86", | 59 | "-k", "tmp/deploy/images/qemux86", |