def setUp(self): self.odrl_factory = odrl()
def setUp(self): self.contract_odrl_factory = odrl() self.license_odrl_factory = odrl() self.evaluator = odrl_evaluator()
def setUp(self): self.license = odrl() jsonfile = open("ODRL21.json") odrlschema = json.load(jsonfile) self.odrlvalidator = jsonschema.Draft4Validator(odrlschema)