File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed
Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 1+ import pytest
2+ from pythclient .solana import SolanaClient
3+
4+
5+ @pytest .fixture
6+ def solana_client ():
7+ return SolanaClient (
8+ endpoint = "https://example.com" ,
9+ ws_endpoint = "wss://example.com" ,
10+ )
Original file line number Diff line number Diff line change 33
44import pythclient .pythaccounts
55from pythclient .exceptions import NotLoadedException
6- from pythclient .solana import SolanaPublicKey , SolanaClient
6+ from pythclient .solana import SolanaPublicKey
77from pythclient .pythaccounts import (
88 _VERSION_2 ,
9- PythPriceAccount ,
109 PythProductAccount ,
1110 _read_attribute_string ,
1211)
1312
1413
15- @pytest .fixture
16- def solana_client ():
17- return SolanaClient (
18- endpoint = "https://example.com" ,
19- ws_endpoint = "wss://example.com" ,
20- )
21-
22-
2314@pytest .fixture
2415def product_account_bytes ():
2516 return bytes (
You can’t perform that action at this time.
0 commit comments