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 3
3
4
4
import pythclient .pythaccounts
5
5
from pythclient .exceptions import NotLoadedException
6
- from pythclient .solana import SolanaPublicKey , SolanaClient
6
+ from pythclient .solana import SolanaPublicKey
7
7
from pythclient .pythaccounts import (
8
8
_VERSION_2 ,
9
- PythPriceAccount ,
10
9
PythProductAccount ,
11
10
_read_attribute_string ,
12
11
)
13
12
14
13
15
- @pytest .fixture
16
- def solana_client ():
17
- return SolanaClient (
18
- endpoint = "https://example.com" ,
19
- ws_endpoint = "wss://example.com" ,
20
- )
21
-
22
-
23
14
@pytest .fixture
24
15
def product_account_bytes ():
25
16
return bytes (
You can’t perform that action at this time.
0 commit comments