Beispiel #1
0
 def test_add_text_evidence_tag_is_number_evidence_raises_value_exception(
         self):
     Dispute.add_text_evidence("dispute_id", {
         "content": "content",
         "tag": 5
     })
Beispiel #2
0
 def test_add_text_evidence_empty_evidence_raises_value_exception(self):
     Dispute.add_text_evidence("dispute_id", " ")
Beispiel #3
0
 def test_add_text_evidence_sequence_number_not_number_evidence_raises_value_exception(
         self):
     Dispute.add_text_evidence("dispute_id", {
         "content": "content",
         "sequence_number": "1abc"
     })
Beispiel #4
0
 def test_add_text_evidence_empty_id_raises_not_found_exception(self):
     Dispute.add_text_evidence(" ", "evidence")
Beispiel #5
0
 def test_add_text_evidence_none_id_raises_not_found_exception(self):
     Dispute.add_text_evidence(None, "evidence")
 def test_add_text_evidence_category_is_number_evidence_raises_value_exception(self):
     Dispute.add_text_evidence("dispute_id", { "content": "content", "category": 5 })
 def test_add_text_evidence_sequence_number_not_number_evidence_raises_value_exception(self):
     Dispute.add_text_evidence("dispute_id", { "content": "content", "sequence_number": "1abc" })
 def test_add_text_evidence_empty_evidence_raises_value_exception(self):
     Dispute.add_text_evidence("dispute_id", " ")
 def test_add_text_evidence_none_id_raises_not_found_exception(self):
     Dispute.add_text_evidence(None, "evidence")
 def test_add_text_evidence_empty_id_raises_not_found_exception(self):
     Dispute.add_text_evidence(" ", "evidence")