kopia lustrzana https://github.com/sepandhaghighi/samila
fix : tests updated
rodzic
f5d4ed4083
commit
bc58ff724e
|
@ -123,37 +123,19 @@ False
|
||||||
False
|
False
|
||||||
>>> marker1 == marker2
|
>>> marker1 == marker2
|
||||||
False
|
False
|
||||||
>>> result = g.nft_storage(api_key="")
|
|
||||||
>>> result['status']
|
|
||||||
False
|
|
||||||
>>> result['message']
|
|
||||||
'API Key is missing, make sure the `Authorization` header has a value in the following format `Bearer {api key}`.'
|
|
||||||
>>> g = GenerativeImage(f1,f2)
|
>>> g = GenerativeImage(f1,f2)
|
||||||
>>> result = g.nft_storage(api_key="")
|
|
||||||
>>> result["status"]
|
|
||||||
False
|
|
||||||
>>> result["message"]
|
|
||||||
'No figure was found. First run `generate` and `plot` methods.'
|
|
||||||
>>> result = g.save_image(file_adr="")
|
>>> result = g.save_image(file_adr="")
|
||||||
>>> result["status"]
|
>>> result["status"]
|
||||||
False
|
False
|
||||||
>>> result["message"]
|
>>> result["message"]
|
||||||
'No figure was found. First run `generate` and `plot` methods.'
|
'No figure was found. First run `generate` and `plot` methods.'
|
||||||
>>> g.fig = 2
|
>>> g.fig = 2
|
||||||
>>> result = g.nft_storage(api_key="")
|
|
||||||
>>> result['status']
|
|
||||||
False
|
|
||||||
>>> result = g.save_image(file_adr="")
|
>>> result = g.save_image(file_adr="")
|
||||||
>>> result["status"]
|
>>> result["status"]
|
||||||
False
|
False
|
||||||
>>> socket.socket = guard
|
>>> socket.socket = guard
|
||||||
>>> g.generate()
|
>>> g.generate()
|
||||||
>>> g.plot()
|
>>> g.plot()
|
||||||
>>> result = g.nft_storage("")
|
|
||||||
>>> result["status"]
|
|
||||||
False
|
|
||||||
>>> result["message"]
|
|
||||||
'No internet connection!'
|
|
||||||
>>> result = g.save_data(file_adr="")
|
>>> result = g.save_data(file_adr="")
|
||||||
>>> result["status"]
|
>>> result["status"]
|
||||||
False
|
False
|
||||||
|
|
Ładowanie…
Reference in New Issue