Skip to content

Commit fca2408

Browse files
committed
Add blank for the SortedOracles SC wrapper tests
1 parent 1565716 commit fca2408

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

sdk/tests/sorted_oracles_tests.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import time
2+
import unittest
3+
4+
from web3 import Web3
5+
6+
from sdk.kit import Kit
7+
from sdk.tests import test_data
8+
9+
10+
class TestReserveWrapper(unittest.TestCase):
11+
12+
@classmethod
13+
def setUpClass(self):
14+
self.kit = Kit('https://alfajores-forno.celo-testnet.org')
15+
self.sorted_oracles_wrapper = self.kit.base_wrapper.create_and_get_contract_by_name(
16+
'SortedOracles')
17+
self.kit.wallet_add_new_key = test_data.pk1
18+
19+
def test_get_spenders(self):
20+
print(self.sorted_oracles_wrapper.num_rates('StableToken'))

0 commit comments

Comments
 (0)