{"id":20466152,"url":"https://github.com/sergo-code/protei-task","last_synced_at":"2025-10-25T11:46:04.366Z","repository":{"id":236297340,"uuid":"556710180","full_name":"sergo-code/protei-task","owner":"sergo-code","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-24T11:36:13.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-10T19:24:15.461Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sergo-code.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-24T11:17:51.000Z","updated_at":"2022-10-24T11:37:05.000Z","dependencies_parsed_at":"2024-04-26T13:51:35.173Z","dependency_job_id":"2600c3ba-167d-485d-b417-6795632cbd68","html_url":"https://github.com/sergo-code/protei-task","commit_stats":null,"previous_names":["sergo-code/protei-task"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sergo-code/protei-task","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergo-code%2Fprotei-task","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergo-code%2Fprotei-task/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergo-code%2Fprotei-task/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergo-code%2Fprotei-task/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sergo-code","download_url":"https://codeload.github.com/sergo-code/protei-task/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergo-code%2Fprotei-task/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280949799,"owners_count":26418951,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T13:21:59.712Z","updated_at":"2025-10-25T11:46:04.307Z","avatar_url":"https://github.com/sergo-code.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# protei-task\nНаписать DDT (data driven tests) тесты публичного API геокодинга проект [nominatim](https://nominatim.openstreetmap.org/ui/search.html).\nПротестировать необходимо прямое (адрес -\u003e координаты) и обратное (координаты -\u003e адрес) геокодирование.\n## Тесты\n### test_api_search_json\n - имеет объект адрес, который сравнивается с ответом. \n### test_api_search_csv\n - имеет только наименование адреса, которое сравнивается с объектом адреса ответа, если все слова содержаться в ответе, то ответ считается валидным.\n## Входные данные\n- config\n  - data.json\n  - data.csv\n\n### Пример json\n```json\n{\n\"0\": {\n    \"place_id\": 68819017,\n    \"display_name\": \"749 Tatum Street Hamline - Midway Сент-Пол Ramsey County Миннесота 55104 Соединённые Штаты Америки\",\n    \"address\": {\n      \"ISO3166-2-lvl4\": \"US-MN\",\n      \"city\": \"Сент-Пол\",\n      \"country\": \"Соединённые Штаты Америки\",\n      \"country_code\": \"us\",\n      \"county\": \"Ramsey County\",\n      \"house_number\": \"749\",\n      \"postcode\": \"55104\",\n      \"road\": \"Tatum Street\",\n      \"state\": \"Миннесота\",\n      \"suburb\": \"Hamline - Midway\"\n    },\n    \"coordinates\": {\n      \"lat\": \"44.9635623\",\n      \"lon\": \"-93.180059\"\n    }\n  }\n}\n```\n### Пример csv\n```\naddress                                                                                            | place_id    | lat        | lon\n-------------------------------------------------------------------------------------------------- | ----------- | ---------- | ----------\n749 Tatum Street Hamline - Midway Сент-Пол Ramsey County Миннесота 55104 Соединённые Штаты Америки | 68819017    | 44.9635623 | -93.180059\n```\n\n## Запуск тестов\n```\npytest\n```\n## Jenkins\nДля запуска тестов был реализован файл Jenkinsfile.\n\n## Отчеты Allure\nРеализовано формирование отчетов с использованием фреймворка Allure. \nФайлы отчета складываются в каталог \"allure-results\" в корне проекта. \n(Каталог для формирования отчетов прописан в файле \"pytest.ini\")","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergo-code%2Fprotei-task","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsergo-code%2Fprotei-task","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergo-code%2Fprotei-task/lists"}