-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update and modify files for the project
- Added new files: - src/bee_py/utils/collection_node.py - tests/data/1.txt - tests/data/2.txt - tests/data/empty - tests/data/sub/3.txt - "tests/data/sub/\303\251" - "tests/data/sub/\360\237\230\216" - tests/test_files/bee_data.json - tests/test_files/test_account.json - Updated files: - pyproject.toml - src/bee_py/modules/bzz.py - src/bee_py/modules/pss.py - src/bee_py/modules/tag.py - src/bee_py/types/type.py - src/bee_py/utils/bytes.py - src/bee_py/utils/collection.py - src/bee_py/utils/tar.py - tests/conftest.py - tests/data/bee_data.json - tests/data/test_account.json - tests/integration/chunk/test_soc.py - tests/integration/modules/conftest.py - tests/integration/modules/test_bzz.py
- Loading branch information
1 parent
a9b5fe7
commit 6044a4c
Showing
14 changed files
with
203 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
from bee_py.chunk.cac import make_content_addressed_chunk | ||
from bee_py.chunk.soc import make_single_owner_chunk, upload_single_owner_chunk | ||
from bee_py.utils.hex import bytes_to_hex | ||
# from bee_py.chunk.cac import make_content_addressed_chunk | ||
# from bee_py.chunk.soc import make_single_owner_chunk, upload_single_owner_chunk | ||
# from bee_py.utils.hex import bytes_to_hex | ||
|
||
|
||
# waiting for getPostageBatch | ||
def test_upload_single_owner_chunk( | ||
soc_signer, payload, bee_ky_options, get_postage_batch, try_delete_chunk_from_local_storage | ||
): | ||
identifier = bytes([0] * 32) | ||
# # waiting for getPostageBatch | ||
# def test_upload_single_owner_chunk( | ||
# soc_signer, payload, bee_ky_options, get_postage_batch, try_delete_chunk_from_local_storage | ||
# ): | ||
# identifier = bytes([0] * 32) | ||
|
||
cac = make_content_addressed_chunk(payload) | ||
soc = make_single_owner_chunk(cac, identifier, soc_signer) | ||
# soc_address = bytes_to_hex(soc.address) | ||
# cac = make_content_addressed_chunk(payload) | ||
# soc = make_single_owner_chunk(cac, identifier, soc_signer) | ||
# # soc_address = bytes_to_hex(soc.address) | ||
|
||
assert try_delete_chunk_from_local_storage | ||
# assert try_delete_chunk_from_local_storage | ||
|
||
# response = upload_single_owner_chunk(bee_ky_options, soc, get_postage_batch) | ||
# # response = upload_single_owner_chunk(bee_ky_options, soc, get_postage_batch) | ||
|
||
# # print(response) | ||
# # # print(response) | ||
|
||
# assert soc_address == response | ||
# # assert soc_address == response |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.