Hello. I naively tried to disable the remaining five tests still using the network by applying the attached patch (in quilt format), but then I get 50 failures instead of five. 😱
I'm attaching also the build log for reference. There must be something which I missed. If anybody has a simple way to disable the network tests and only the network tests, I'd love to know. BTW: Unfortunately, this package was already removed from trixie. I was looking at this report because there are only four remaining packages which do not build when using the unshare backend: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=unshare;users=debian-wb-t...@lists.debian.org Thanks.
Description: Disable more network tests Author: Santiago Vila <sanv...@debian.org> Bug-Debian: https://bugs.debian.org/1056708 Forwarded: not-needed Last-Update: 2025-05-23 --- node-wikibase-cli-15.15.4.orig/test/wb-data.js +++ node-wikibase-cli-15.15.4/test/wb-data.js @@ -136,7 +136,7 @@ describe('wb data', function () { }) describe('claim data', () => { - it('should get a claim data provided a claim guid', async () => { + it.skip('should get a claim data provided a claim guid', async () => { const guid = 'Q2$50fad68d-4f91-f878-6f29-e655af54690e' const { stdout } = await shellExec(`./bin/wd data '${guid}'`) const claim = JSON.parse(stdout) @@ -145,7 +145,7 @@ describe('wb data', function () { claim.mainsnak.datavalue.value.id.should.equal('Q128207') }) - it('should accept prefixed claim GUIDs', async () => { + it.skip('should accept prefixed claim GUIDs', async () => { const prefixedGuid = 'wds:Q2-50fad68d-4f91-f878-6f29-e655af54690e' const { stdout } = await shellExec(`./bin/wd data '${prefixedGuid}'`) const claim = JSON.parse(stdout) @@ -154,7 +154,7 @@ describe('wb data', function () { claim.mainsnak.datavalue.value.id.should.equal('Q128207') }) - it('should accept claim GUIDs with an - in place of a $', async () => { + it.skip('should accept claim GUIDs with an - in place of a $', async () => { const hyphenedGuid = 'Q2-50fad68d-4f91-f878-6f29-e655af54690e' const { stdout } = await shellExec(`./bin/wd data '${hyphenedGuid}'`) const claim = JSON.parse(stdout) @@ -163,12 +163,12 @@ describe('wb data', function () { claim.mainsnak.datavalue.value.id.should.equal('Q128207') }) - it('should get a simplified claim', async () => { + it.skip('should get a simplified claim', async () => { const { stdout } = await shellExec('./bin/wd data --simplify \'Q2$50fad68d-4f91-f878-6f29-e655af54690e\'') stdout.should.equal('Q128207') }) - it('should keep the requested simplified claim data', async () => { + it.skip('should keep the requested simplified claim data', async () => { const guid = 'Q2$50fad68d-4f91-f878-6f29-e655af54690e' const { stdout } = await shellExec(`./bin/wd data --simplify --keep ids,references,qualifiers '${guid}'`) const claim = JSON.parse(stdout)
node-wikibase-cli_15.15.4-6_amd64.build.gz
Description: application/gzip
-- Pkg-javascript-devel mailing list Pkg-javascript-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel