Обновить doc/doc.md
This commit is contained in:
1 parent
8849b7449e
commit
9d0fe20f9f
1 file changed
-27
-27
@@ -104,33 +104,6 @@ pytest -m negative
|
|||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
|
|
||||||
# Write files locally and create a zip archive
|
|
||||||
|
|
||||||
zip_filename = "yandex-disk-api-tests.zip"
|
|
||||||
with zipfile.ZipFile(zip_filename, "w", zipfile.ZIP_DEFLATED) as zip_file:
|
|
||||||
for file_path, content in project_structure.items():
|
|
||||||
dir_name = os.path.dirname(file_path)
|
|
||||||
if dir_name:
|
|
||||||
os.makedirs(dir_name, exist_ok=True)
|
|
||||||
with open(file_path, "w", encoding="utf-8") as f:
|
|
||||||
f.write(content)
|
|
||||||
zip_file.write(file_path)
|
|
||||||
|
|
||||||
print(f"Successfully generated {zip_filename} with {len(project_structure)} files.")
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
```text?code_stdout&code_event_index=1
|
|
||||||
Successfully generated yandex-disk-api-tests.zip with 11 files.
|
|
||||||
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
Готовый архив с проектом автотестов подготовлен:
|
|
||||||
|
|
||||||
Ниже представлены исходные файлы, конфигурация и документация для создания и публикации репозитория на GitHub.
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
### Структура репозитория
|
### Структура репозитория
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user