Commit 10785a81858e3caea455d403e0f77a2e58b4bda2

Authored by mykhaly
1 parent c6abf7f7

Delete test_lot_complaint_data

@@ -202,7 +202,7 @@ def test_question_answer_data(): @@ -202,7 +202,7 @@ def test_question_answer_data():
202 }) 202 })
203 203
204 204
205 -def test_complaint_data(lot=False): 205 +def test_complaint_data():
206 data = munchify({ 206 data = munchify({
207 "data": { 207 "data": {
208 "author": fake.procuringEntity(), 208 "author": fake.procuringEntity(),
@@ -210,8 +210,6 @@ def test_complaint_data(lot=False): @@ -210,8 +210,6 @@ def test_complaint_data(lot=False):
210 "title": fake.title() 210 "title": fake.title()
211 } 211 }
212 }) 212 })
213 - if lot:  
214 - data = test_lot_complaint_data(data)  
215 return data 213 return data
216 214
217 215
@@ -349,10 +347,6 @@ def test_lot_document_data(document, lot_id): @@ -349,10 +347,6 @@ def test_lot_document_data(document, lot_id):
349 return munchify(document) 347 return munchify(document)
350 348
351 349
352 -def test_lot_complaint_data(complaint, lot_id):  
353 - complaint.data.update({"complaintOf": "lot", "relatedItem": lot_id})  
354 - return munchify(complaint)  
355 -  
356 350
357 def test_tender_data_openua(params): 351 def test_tender_data_openua(params):
358 accelerator = params['intervals']['accelerator'] 352 accelerator = params['intervals']['accelerator']
@@ -30,7 +30,6 @@ from .initial_data import ( @@ -30,7 +30,6 @@ from .initial_data import (
30 test_feature_data, 30 test_feature_data,
31 test_invalid_features_data, 31 test_invalid_features_data,
32 test_item_data, 32 test_item_data,
33 - test_lot_complaint_data,  
34 test_lot_data, 33 test_lot_data,
35 test_lot_document_data, 34 test_lot_document_data,
36 test_related_question, 35 test_related_question,
Please register or login to post a comment