diff options
Diffstat (limited to 'bitbake/lib/bb/tests/fetch.py')
-rw-r--r-- | bitbake/lib/bb/tests/fetch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py index c654662c02..5cccdf6ef4 100644 --- a/bitbake/lib/bb/tests/fetch.py +++ b/bitbake/lib/bb/tests/fetch.py | |||
@@ -18,7 +18,7 @@ from bb.tests.support.httpserver import HTTPService | |||
18 | 18 | ||
19 | def skipIfNoNetwork(): | 19 | def skipIfNoNetwork(): |
20 | if os.environ.get("BB_SKIP_NETTESTS") == "yes": | 20 | if os.environ.get("BB_SKIP_NETTESTS") == "yes": |
21 | return unittest.skip("Network tests being skipped") | 21 | return unittest.skip("network test") |
22 | return lambda f: f | 22 | return lambda f: f |
23 | 23 | ||
24 | class URITest(unittest.TestCase): | 24 | class URITest(unittest.TestCase): |
@@ -2301,7 +2301,7 @@ class NPMTest(FetcherTest): | |||
2301 | def skipIfNoNpm(): | 2301 | def skipIfNoNpm(): |
2302 | import shutil | 2302 | import shutil |
2303 | if not shutil.which('npm'): | 2303 | if not shutil.which('npm'): |
2304 | return unittest.skip('npm not installed, tests being skipped') | 2304 | return unittest.skip('npm not installed') |
2305 | return lambda f: f | 2305 | return lambda f: f |
2306 | 2306 | ||
2307 | @skipIfNoNpm() | 2307 | @skipIfNoNpm() |