Commit 0f4f847124641d03cb6228e8616744200b985ab1

Authored by selurvedu
1 parent 029f4f38

Replace tabs with spaces

@@ -149,7 +149,7 @@ def prom_test_tender_data(): @@ -149,7 +149,7 @@ def prom_test_tender_data():
149 { 149 {
150 "description": fake.catch_phrase(), 150 "description": fake.catch_phrase(),
151 "deliveryDate": { 151 "deliveryDate": {
152 - "startDate": (now + timedelta(days=4)).isoformat(), 152 + "startDate": (now + timedelta(days=4)).isoformat(),
153 "endDate": (now + timedelta(days=5)).isoformat() 153 "endDate": (now + timedelta(days=5)).isoformat()
154 }, 154 },
155 "deliveryLocation": { 155 "deliveryLocation": {
@@ -202,33 +202,33 @@ def test_tender_data_multiple_lots(period_interval=2): @@ -202,33 +202,33 @@ def test_tender_data_multiple_lots(period_interval=2):
202 "description_en": "Test tender", 202 "description_en": "Test tender",
203 "description_ru": "Тестовый тендер", 203 "description_ru": "Тестовый тендер",
204 "procuringEntity": { 204 "procuringEntity": {
205 - "name": fake.company(),  
206 - "name_ru": fake_ru.company(),  
207 - "name_en": fake_en.company(),  
208 - "identifier": {  
209 - "scheme": u"UA-EDR",  
210 - "id": u"0000{}".format(fake.pyint()),  
211 - "uri": fake.image_url(width=None, height=None)  
212 - },  
213 - "address": {  
214 - "countryName": u"Україна",  
215 - "postalCode": fake.postalcode(),  
216 - "region": u"м. Київ",  
217 - "locality": u"м. Київ",  
218 - "streetAddress": fake.street_address()  
219 - },  
220 - "contactPoint": {  
221 - "name": fake.name(),  
222 - "telephone": fake.phone_number()  
223 - } 205 + "name": fake.company(),
  206 + "name_ru": fake_ru.company(),
  207 + "name_en": fake_en.company(),
  208 + "identifier": {
  209 + "scheme": u"UA-EDR",
  210 + "id": u"0000{}".format(fake.pyint()),
  211 + "uri": fake.image_url(width=None, height=None)
  212 + },
  213 + "address": {
  214 + "countryName": u"Україна",
  215 + "postalCode": fake.postalcode(),
  216 + "region": u"м. Київ",
  217 + "locality": u"м. Київ",
  218 + "streetAddress": fake.street_address()
  219 + },
  220 + "contactPoint": {
  221 + "name": fake.name(),
  222 + "telephone": fake.phone_number()
  223 + }
224 }, 224 },
225 "value": { 225 "value": {
226 - "amount": 50000.99,  
227 - "currency": u"UAH" 226 + "amount": 50000.99,
  227 + "currency": u"UAH"
228 }, 228 },
229 "minimalStep": { 229 "minimalStep": {
230 - "amount": 100.1,  
231 - "currency": u"UAH" 230 + "amount": 100.1,
  231 + "currency": u"UAH"
232 }, 232 },
233 "items": [ 233 "items": [
234 { 234 {
@@ -265,7 +265,7 @@ def test_tender_data_multiple_lots(period_interval=2): @@ -265,7 +265,7 @@ def test_tender_data_multiple_lots(period_interval=2):
265 }, 265 },
266 "quantity": fake.pyint() 266 "quantity": fake.pyint()
267 }, 267 },
268 - { 268 + {
269 "description": fake.catch_phrase(), 269 "description": fake.catch_phrase(),
270 "deliveryDate": { 270 "deliveryDate": {
271 "endDate": (now + timedelta(days=5)).isoformat() 271 "endDate": (now + timedelta(days=5)).isoformat()
@@ -299,7 +299,7 @@ def test_tender_data_multiple_lots(period_interval=2): @@ -299,7 +299,7 @@ def test_tender_data_multiple_lots(period_interval=2):
299 }, 299 },
300 "quantity": fake.pyint() 300 "quantity": fake.pyint()
301 }, 301 },
302 - { 302 + {
303 "description": fake.catch_phrase(), 303 "description": fake.catch_phrase(),
304 "deliveryDate": { 304 "deliveryDate": {
305 "endDate": (now + timedelta(days=5)).isoformat() 305 "endDate": (now + timedelta(days=5)).isoformat()
@@ -333,7 +333,7 @@ def test_tender_data_multiple_lots(period_interval=2): @@ -333,7 +333,7 @@ def test_tender_data_multiple_lots(period_interval=2):
333 }, 333 },
334 "quantity": fake.pyint() 334 "quantity": fake.pyint()
335 }, 335 },
336 - { 336 + {
337 "description": fake.catch_phrase(), 337 "description": fake.catch_phrase(),
338 "deliveryDate": { 338 "deliveryDate": {
339 "endDate": (now + timedelta(days=5)).isoformat() 339 "endDate": (now + timedelta(days=5)).isoformat()
Please register or login to post a comment