|
6 | 6 | from hiero_sdk_python.account.account_id import AccountId |
7 | 7 | from hiero_sdk_python.crypto.private_key import PrivateKey |
8 | 8 | from hiero_sdk_python.exceptions import ReceiptStatusError |
| 9 | +from hiero_sdk_python.file.file_append_transaction import FileAppendTransaction |
| 10 | +from hiero_sdk_python.file.file_create_transaction import FileCreateTransaction |
| 11 | +from hiero_sdk_python.file.file_id import FileId |
9 | 12 | from hiero_sdk_python.hapi.services import ( |
10 | 13 | basic_types_pb2, |
11 | 14 | response_header_pb2, |
|
14 | 17 | transaction_receipt_pb2, |
15 | 18 | transaction_response_pb2, |
16 | 19 | ) |
| 20 | +from hiero_sdk_python.hbar import Hbar |
17 | 21 | from hiero_sdk_python.response_code import ResponseCode |
18 | 22 | from hiero_sdk_python.tokens.token_id import TokenId |
19 | 23 | from hiero_sdk_python.tokens.token_mint_transaction import TokenMintTransaction |
20 | 24 | from hiero_sdk_python.transaction.transaction_id import TransactionId |
| 25 | +from hiero_sdk_python.transaction.transaction_id import TransactionId |
21 | 26 | from hiero_sdk_python.transaction.transaction_receipt import TransactionReceipt |
22 | 27 | from hiero_sdk_python.transaction.transaction_response import TransactionResponse |
23 | 28 | from tests.unit.mock_server import mock_hedera_servers |
|
26 | 31 | pytestmark = pytest.mark.unit |
27 | 32 |
|
28 | 33 |
|
| 34 | +@pytest.fixture |
| 35 | +def file_id(): |
| 36 | + """Returns a file_is for test.""" |
| 37 | + return FileId.from_string("0.0.1") |
| 38 | + |
| 39 | + |
| 40 | +@pytest.fixture |
| 41 | +def account_id(): |
| 42 | + """Returns an account_id for test.""" |
| 43 | + return AccountId.from_string("0.0.9") |
| 44 | + |
| 45 | + |
| 46 | +@pytest.fixture |
| 47 | +def transaction_id(): |
| 48 | + """Returns a transaction_id for test.""" |
| 49 | + return TransactionId.from_string("0.0.9@1770911831.331000137") |
| 50 | + |
29 | 51 |
|
30 | 52 | def test_execute_waits_for_receipt_receipt(): |
31 | 53 | """Test execute return TransactionReceipt when wait_for_receipt is True (default).""" |
|
0 commit comments