Пример #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
     })
Пример #2
0
 def test_add_text_evidence_empty_evidence_raises_value_exception(self):
     Dispute.add_text_evidence("dispute_id", " ")
Пример #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"
     })
Пример #4
0
 def test_add_text_evidence_empty_id_raises_not_found_exception(self):
     Dispute.add_text_evidence(" ", "evidence")
Пример #5
0
 def test_add_text_evidence_none_id_raises_not_found_exception(self):
     Dispute.add_text_evidence(None, "evidence")
Пример #6
0
 def test_add_text_evidence_category_is_number_evidence_raises_value_exception(self):
     Dispute.add_text_evidence("dispute_id", { "content": "content", "category": 5 })
Пример #7
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" })
Пример #8
0
 def test_add_text_evidence_empty_evidence_raises_value_exception(self):
     Dispute.add_text_evidence("dispute_id", " ")
Пример #9
0
 def test_add_text_evidence_none_id_raises_not_found_exception(self):
     Dispute.add_text_evidence(None, "evidence")
Пример #10
0
 def test_add_text_evidence_empty_id_raises_not_found_exception(self):
     Dispute.add_text_evidence(" ", "evidence")