Skip to contentSkip to conversation

tests/fetch: Fix typo in npm test

PATCH New Richard Purdie 1 participant 1 message Mar 19, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 tests/fetch: Fix typo in npm test

---
 lib/bb/tests/fetch.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bb/tests/fetch.py +1 -1
index 441b3f8236..8fa870c8a1 100644
@@ -2815,7 +2815,7 @@ class NPMTest(FetcherTest):
     @skipIfNoNetwork()
     def test_npm_version_latest(self):
         url = ['npm://registry.npmjs.org;package=@savoirfairelinux/node-server-example;version=latest']
-        fetcher = bb.fetch.Fetch(urls, self.d)
+        fetcher = bb.fetch.Fetch(url, self.d)
         fetcher.download()
         fetcher.unpack(self.unpackdir)
         unpackdir = os.path.join(self.unpackdir, 'npm')