コード例 #1
0
ファイル: test_models.py プロジェクト: gsi-upm/senpy
 def test_sentiment(self):
     s = Sentiment()
     self.assertRaises(jsonschema.ValidationError, s.validate)
     s.nif__anchorOf = "so much testing"
     s.prov__wasGeneratedBy = ""
     s.validate()
コード例 #2
0
ファイル: test_models.py プロジェクト: Shasthojoy/senpy
 def test_sentiment(self):
     s = Sentiment()
     self.assertRaises(jsonschema.ValidationError, s.validate)
     s.nif__anchorOf = "so much testing"
     s.prov__wasGeneratedBy = ""
     s.validate()