Tests: added getjson() helper.

This commit is contained in:
Tiago Natel
2019-11-26 16:00:11 +00:00
parent 01103c5005
commit 224787bbac
4 changed files with 29 additions and 10 deletions

View File

@@ -82,6 +82,3 @@ class TestFeatureIsolation(TestApplicationProto):
data = int(os.readlink(nspath)[len(nstype) + 2 : -1])
return data
def parsejson(self, data):
return json.loads(data)