![Clint Byrum](/assets/img/avatar_default.png)
Retains python2.7 compatibility for all files. Fixes only syntax errors, tests still fail on python3 for various reasons.
11 lines
274 B
Python
Executable File
11 lines
274 B
Python
Executable File
#!/usr/bin/env python
|
|
# extract test case IDs from json-formatted list (`sp_testdrv.py -l` or `idp_testdrv.py -l`)
|
|
# usage:
|
|
# sp_testdrv.py -l | filter_testcase_ids.py
|
|
__author__ = 'rhoerbe'
|
|
|
|
import json, sys
|
|
jdata = json.load(sys.stdin)
|
|
for k in jdata:
|
|
print(k["id"])
|