File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33from blockfrost import BlockFrostApi , ApiError
44from blockfrost .utils import convert_json_to_object
55
6- address = 'addr1qx466898end6q5mpvrwwmycq35v83c9e8cnffadv6gr6q6azs4s26v4800nwg8jygvrdqh6xhsphct0d4zqsnd3sagxqqjjgln '
6+ address = 'addr1qyptln5t5s0mastzc9rksn6wdqp9ynt67ahw0nhzukar5keu7yzv8ay6qvmlywtgvt7exaxt783dxuzv03qal7muda5sl42hg6 '
77stake_address = 'stake1ux3g2c9dx2nhhehyrezyxpkstartcqmu9hk63qgfkccw5rqttygt7'
8- asset = 'b0d07d45fe9514f80213f4020e5a61241458be626841cde717cb38a76e7574636f696e '
8+ asset = 'f4988f549728dc76b58d7677849443caf6e5385dc67e6c25f6aa901e506978656c54696c653235 '
99
1010
1111def test_address (requests_mock ):
Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ def test_block_latest_transactions(requests_mock):
5252def test_integration_block_latest_transactions ():
5353 if os .getenv ('BLOCKFROST_PROJECT_ID_MAINNET' ):
5454 api = BlockFrostApi (project_id = os .getenv ('BLOCKFROST_PROJECT_ID_MAINNET' ))
55- assert api .block_latest_transactions ()
55+ assert (api .block_latest_transactions () or
56+ api .block_latest_transactions () == [])
5657
5758
5859def test_block (requests_mock ):
You can’t perform that action at this time.
0 commit comments