python3-jsonpointer: rewrite testing

The tests installed by jsonpointer use unittest not pytest, so update
the dependencies.

Use the unittest runner in python3-unittest-automake-output to get the
correct output.

Apply a patch so the test suite doesn't run twice.

(From OE-Core rev: 595086756c6f24762e08cde9f9ed3e1056976d98)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2023-03-21 12:37:45 +00:00
committed by Richard Purdie
parent bd446d8207
commit 10cde1b2ad
3 changed files with 68 additions and 2 deletions

View File

@@ -1,3 +1,3 @@
#!/bin/sh
python3 tests.py
python3 -mputao.unittest tests.py