Commit 34fa7e6f93186e6ddb5db39c38d8de995eed825a
1 parent
36d2a2aa
Added requirements and added translations
Showing
2 changed files
with
11 additions
and
0 deletions
| @@ -4,13 +4,20 @@ now = datetime.now() | @@ -4,13 +4,20 @@ now = datetime.now() | ||
| 4 | from munch import munchify | 4 | from munch import munchify |
| 5 | from faker import Factory | 5 | from faker import Factory |
| 6 | fake = Factory.create('uk_UA') | 6 | fake = Factory.create('uk_UA') |
| 7 | +fake_ru = Factory.create('ru') | ||
| 8 | +fake_en = Factory.create() | ||
| 7 | 9 | ||
| 8 | test_tender_data = { | 10 | test_tender_data = { |
| 9 | "title": fake.catch_phrase(), | 11 | "title": fake.catch_phrase(), |
| 10 | "mode": "test", | 12 | "mode": "test", |
| 11 | "submissionMethodDetails": "quick", | 13 | "submissionMethodDetails": "quick", |
| 14 | + "description": "Тестовий тендер", | ||
| 15 | + "description_en": "Test tender", | ||
| 16 | + "description_ru": "Тестовый тендер", | ||
| 12 | "procuringEntity": { | 17 | "procuringEntity": { |
| 13 | "name": fake.company(), | 18 | "name": fake.company(), |
| 19 | + "name_ru": fake_ru.company(), | ||
| 20 | + "name_en": fake_en.company(), | ||
| 14 | "identifier": { | 21 | "identifier": { |
| 15 | "scheme": u"UA-EDR", | 22 | "scheme": u"UA-EDR", |
| 16 | "id": u"0000{}".format(fake.pyint()), | 23 | "id": u"0000{}".format(fake.pyint()), |
| @@ -20,6 +20,10 @@ setup(name='op_robot_tests', | @@ -20,6 +20,10 @@ setup(name='op_robot_tests', | ||
| 20 | install_requires=[ | 20 | install_requires=[ |
| 21 | # -*- Extra requirements: -*- | 21 | # -*- Extra requirements: -*- |
| 22 | 'robotframework', | 22 | 'robotframework', |
| 23 | + 'robotframework-selenium2library', | ||
| 24 | + 'robotframework-debuglibrary', | ||
| 25 | + 'robotframework-selenium2screenshots', | ||
| 26 | + 'Pillow', | ||
| 23 | 'iso8601', | 27 | 'iso8601', |
| 24 | 'PyYAML', | 28 | 'PyYAML', |
| 25 | 'munch', | 29 | 'munch', |
Please
register
or
login
to post a comment