* fix : `status` issue fixed in tests.

* fix : `status["*"]` -> `result['status'][*]`
pull/166/head
Sadra Sabouri 2022-11-29 01:58:20 +03:30 zatwierdzone przez GitHub
rodzic 539547a7c1
commit 36085c761b
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 6 dodań i 6 usunięć

Wyświetl plik

@ -25,21 +25,21 @@ True
>>> while(status == False and counter<try_limit):
... result = g.nft_storage(api_key=NFT_STORAGE_API_KEY, upload_config=True)
... counter = counter + 1
... status = result["status"]
... status = all(result["status"].values())
... time.sleep(10)
>>> status["image"]
>>> result['status']["image"]
True
>>> status["config"]
>>> result['status']["config"]
True
>>> status = False
>>> counter = 0
>>> while(status == False and counter<try_limit):
... result = g.nft_storage(api_key=NFT_STORAGE_API_KEY, upload_data=True)
... counter = counter + 1
... status = result["status"]
... status = all(result["status"].values())
... time.sleep(10)
>>> status["image"]
>>> result['status']["image"]
True
>>> status["data"]
>>> result['status']["data"]
True
"""