Commit d013c93a75e0d08cf3701c6ad8ddd5df15eaf3fe

Authored by kosaniak
Committed by GitHub
2 parents 872bfee1 91b512cf

Merge pull request #583 from ivanka12/devel

update test_bid_competitive_data
@@ -360,15 +360,17 @@ def test_bid_competitive_data(): @@ -360,15 +360,17 @@ def test_bid_competitive_data():
360 ] 360 ]
361 } 361 }
362 }) 362 })
  363 + if len(used_identifier_id) == 3:
  364 + del used_identifier_id[0]
363 id = bid.data.tenderers[0].identifier.id 365 id = bid.data.tenderers[0].identifier.id
364 while (id in used_identifier_id): 366 while (id in used_identifier_id):
365 bid = munchify({ 367 bid = munchify({
366 - "data": {  
367 - "tenderers": [  
368 - fake.procuringEntity()  
369 - ]  
370 - }  
371 - }) 368 + "data": {
  369 + "tenderers": [
  370 + fake.procuringEntity()
  371 + ]
  372 + }
  373 + })
372 id = bid.data.tenderers[0].identifier.id 374 id = bid.data.tenderers[0].identifier.id
373 used_identifier_id.append(id) 375 used_identifier_id.append(id)
374 bid.data.tenderers[0].address.countryName_en = translate_country_en(bid.data.tenderers[0].address.countryName) 376 bid.data.tenderers[0].address.countryName_en = translate_country_en(bid.data.tenderers[0].address.countryName)
Please register or login to post a comment