Exemple #1
0
	def setUp(self):
		self.odrl_factory = odrl()
Exemple #2
0
	def setUp(self):
		self.contract_odrl_factory = odrl()
		self.license_odrl_factory = odrl()
		self.evaluator = odrl_evaluator()
Exemple #3
0
	def setUp(self):
		self.license = odrl()

		jsonfile =  open("ODRL21.json")
		odrlschema = json.load(jsonfile)
		self.odrlvalidator = jsonschema.Draft4Validator(odrlschema)