Commit 84270c5d2b27b6f152ffabba5afec6da791e09db

Authored by mykhaly
Committed by OrysiaDrabych
1 parent 3bf5a86b

Add `test_change_data` to initial_data

@@ -482,3 +482,16 @@ def test_tender_data_competitive_dialogue(params, submissionMethodDetails): @@ -482,3 +482,16 @@ def test_tender_data_competitive_dialogue(params, submissionMethodDetails):
482 data['procuringEntity']['identifier']['legalName_en'] = fake_en.sentence(nb_words=10, variable_nb_words=True) 482 data['procuringEntity']['identifier']['legalName_en'] = fake_en.sentence(nb_words=10, variable_nb_words=True)
483 data['procuringEntity']['kind'] = 'general' 483 data['procuringEntity']['kind'] = 'general'
484 return data 484 return data
  485 +
  486 +
  487 +def test_change_data():
  488 + return munchify(
  489 + {
  490 + "data":
  491 + {
  492 + "rationale": fake.description(),
  493 + "rationale_en": fake_en.sentence(nb_words=10, variable_nb_words=True),
  494 + "rationale_ru": fake_ru.sentence(nb_words=10, variable_nb_words=True),
  495 + "rationaleTypes": fake.rationaleTypes(amount=3)
  496 + }
  497 + })
@@ -26,6 +26,7 @@ from .initial_data import ( @@ -26,6 +26,7 @@ from .initial_data import (
26 field_with_id, 26 field_with_id,
27 test_bid_data, 27 test_bid_data,
28 test_bid_value, 28 test_bid_value,
  29 + test_change_data,
29 test_claim_answer_data, 30 test_claim_answer_data,
30 test_claim_data, 31 test_claim_data,
31 test_complaint_data, 32 test_complaint_data,
Please register or login to post a comment