Skip to content

Commit

Permalink
Правка тестов YD
Browse files Browse the repository at this point in the history
  • Loading branch information
Bayselonarrend committed Aug 14, 2024
1 parent 4c9c190 commit 9cda428
Show file tree
Hide file tree
Showing 29 changed files with 4,303 additions and 4,327 deletions.
2 changes: 0 additions & 2 deletions docs/en/examples/YandexDisk/CancelObjectPublication.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@
Path = "/b91ade1a-0731-4dd9-b453-199debd673c4.png";

Result = OPI_YandexDisk.CancelObjectPublication(Token, Path);

Check_YaDiskPath(Result, Path, False);
2 changes: 0 additions & 2 deletions docs/en/examples/YandexDisk/DeleteObject.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@
Path = "/657bb0d1-fc8d-4812-90fe-447ed21bc367.png";

Result = OPI_YandexDisk.DeleteObject(Token, Path, False);

OPI_Tools.Pause(5);
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@
URL = "https://yadi.sk/d/SkGfnxKeOI0oYQ";

Result = OPI_YandexDisk.GetDownloadLinkForPublicObject(Token, URL);

Check_YaDiskLink(Result);
2 changes: 0 additions & 2 deletions docs/en/examples/YandexDisk/GetPublicObject.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@
URL = "https://yadi.sk/d/SkGfnxKeOI0oYQ";

Result = OPI_YandexDisk.GetPublicObject(Token, URL);

Check_YaDiskPath(Result, "", True);
6 changes: 0 additions & 6 deletions docs/en/examples/YandexDisk/PublishObject.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,3 @@
Path = "/b91ade1a-0731-4dd9-b453-199debd673c4.png";

Result = OPI_YandexDisk.PublishObject(Token, Path);

Check_YaDiskPath(Result, Path, True);

URL = Result["public_url"];
OPI_TestDataRetrieval.WriteParameter("YandexDisk_PublicURL", URL);
FunctionParameters.Insert("YandexDisk_PublicURL", URL);
2 changes: 0 additions & 2 deletions docs/en/examples/YandexDisk/SavePublicObjectToDisk.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@
URL = "https://yadi.sk/d/SkGfnxKeOI0oYQ";

Result = OPI_YandexDisk.SavePublicObjectToDisk(Token, URL);

Check_YaDiskPath(Result, "", False);
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ sidebar_position: 4
Path = "/657bb0d1-fc8d-4812-90fe-447ed21bc367.png";
Result = OPI_YandexDisk.DeleteObject(Token, Path, False);
OPI_Tools.Pause(5);
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ sidebar_position: 2
Path = "/b91ade1a-0731-4dd9-b453-199debd673c4.png";
Result = OPI_YandexDisk.CancelObjectPublication(Token, Path);
Check_YaDiskPath(Result, Path, False);
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ sidebar_position: 5
URL = "https://yadi.sk/d/SkGfnxKeOI0oYQ";
Result = OPI_YandexDisk.GetDownloadLinkForPublicObject(Token, URL);
Check_YaDiskLink(Result);
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ sidebar_position: 4
URL = "https://yadi.sk/d/SkGfnxKeOI0oYQ";
Result = OPI_YandexDisk.GetPublicObject(Token, URL);
Check_YaDiskPath(Result, "", True);
```


Expand Down
6 changes: 0 additions & 6 deletions docs/en/md/Yandex_Disk/Manage-public-access/Publish-object.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@ sidebar_position: 1
Path = "/b91ade1a-0731-4dd9-b453-199debd673c4.png";
Result = OPI_YandexDisk.PublishObject(Token, Path);
Check_YaDiskPath(Result, Path, True);
URL = Result["public_url"];
OPI_TestDataRetrieval.WriteParameter("YandexDisk_PublicURL", URL);
FunctionParameters.Insert("YandexDisk_PublicURL", URL);
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ sidebar_position: 6
URL = "https://yadi.sk/d/SkGfnxKeOI0oYQ";
Result = OPI_YandexDisk.SavePublicObjectToDisk(Token, URL);
Check_YaDiskPath(Result, "", False);
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,3 @@
Путь = "/b91ade1a-0731-4dd9-b453-199debd673c4.png";

Результат = OPI_YandexDisk.ОпубликоватьОбъект(Токен, Путь);

Проверка_ЯДискПуть(Результат, Путь, Истина);

URL = Результат["public_url"];
OPI_ПолучениеДанныхТестов.ЗаписатьПараметр("YandexDisk_PublicURL", URL);
ПараметрыФункции.Вставить("YandexDisk_PublicURL", URL);
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@
Путь = "/b91ade1a-0731-4dd9-b453-199debd673c4.png";

Результат = OPI_YandexDisk.ОтменитьПубликациюОбъекта(Токен, Путь);

Проверка_ЯДискПуть(Результат, Путь, Ложь);
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@
URL = "https://yadi.sk/d/SkGfnxKeOI0oYQ";

Результат = OPI_YandexDisk.ПолучитьПубличныйОбъект(Токен, URL);

Проверка_ЯДискПуть(Результат, "", Истина);
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@
URL = "https://yadi.sk/d/SkGfnxKeOI0oYQ";

Результат = OPI_YandexDisk.ПолучитьСсылкуСкачиванияПубличногоОбъекта(Токен, URL);

Проверка_ЯДискСсылка(Результат);
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@
URL = "https://yadi.sk/d/SkGfnxKeOI0oYQ";

Результат = OPI_YandexDisk.СохранитьПубличныйОбъектНаДиск(Токен, URL);

Проверка_ЯДискПуть(Результат, "", Ложь);
2 changes: 0 additions & 2 deletions docs/ru/examples/YandexDisk/УдалитьОбъект.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@
Путь = "/657bb0d1-fc8d-4812-90fe-447ed21bc367.png";

Результат = OPI_YandexDisk.УдалитьОбъект(Токен, Путь, Ложь);

OPI_Инструменты.Пауза(5);
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ sidebar_position: 4
Путь = "/657bb0d1-fc8d-4812-90fe-447ed21bc367.png";
Результат = OPI_YandexDisk.УдалитьОбъект(Токен, Путь, Ложь);
OPI_Инструменты.Пауза(5);
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ sidebar_position: 2
Путь = "/b91ade1a-0731-4dd9-b453-199debd673c4.png";
Результат = OPI_YandexDisk.ОтменитьПубликациюОбъекта(Токен, Путь);
Проверка_ЯДискПуть(Результат, Путь, Ложь);
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ sidebar_position: 5
URL = "https://yadi.sk/d/SkGfnxKeOI0oYQ";
Результат = OPI_YandexDisk.ПолучитьСсылкуСкачиванияПубличногоОбъекта(Токен, URL);
Проверка_ЯДискСсылка(Результат);
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ sidebar_position: 4
URL = "https://yadi.sk/d/SkGfnxKeOI0oYQ";
Результат = OPI_YandexDisk.ПолучитьПубличныйОбъект(Токен, URL);
Проверка_ЯДискПуть(Результат, "", Истина);
```


Expand Down
6 changes: 0 additions & 6 deletions docs/ru/md/Yandex_Disk/Manage-public-access/Publish-object.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@ sidebar_position: 1
Путь = "/b91ade1a-0731-4dd9-b453-199debd673c4.png";
Результат = OPI_YandexDisk.ОпубликоватьОбъект(Токен, Путь);
Проверка_ЯДискПуть(Результат, Путь, Истина);
URL = Результат["public_url"];
OPI_ПолучениеДанныхТестов.ЗаписатьПараметр("YandexDisk_PublicURL", URL);
ПараметрыФункции.Вставить("YandexDisk_PublicURL", URL);
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ sidebar_position: 6
URL = "https://yadi.sk/d/SkGfnxKeOI0oYQ";
Результат = OPI_YandexDisk.СохранитьПубличныйОбъектНаДиск(Токен, URL);
Проверка_ЯДискПуть(Результат, "", Ложь);
```


Expand Down
Loading

0 comments on commit 9cda428

Please sign in to comment.