def SetFieldWeights (self, weights):
		assert(isinstance(weights,dict))
		for key,val in weights.items():
			assert(isinstance(key,str))
			assert(isinstance(val,int))
		self._fieldweights = weights
Check raises usage
dataset/ETHPy150Open dcramer/django-sphinx/djangosphinx/apis/api275/__init__.py/SphinxClient.SetFieldWeights--crossover with--dataset/ETHPy150Open openstack/rally/tests/hacking/checks.py/check_raises