Add minter test
This commit is contained in:
parent
8d51154564
commit
0b62874631
24
python/tests/test_cic_minter.py
Normal file
24
python/tests/test_cic_minter.py
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# standard imports
|
||||||
|
import unittest
|
||||||
|
import logging
|
||||||
|
|
||||||
|
# external imports
|
||||||
|
from chainlib.eth.tx import receipt
|
||||||
|
from chainlib.eth.block import block_latest
|
||||||
|
from chainlib.eth.block import block_by_number
|
||||||
|
from eth_minter.unittest import TestEthMinterInterface
|
||||||
|
from eth_minter.unittest.base import TestEthMinter
|
||||||
|
from ge_capped_token.unittest import TestCappedToken
|
||||||
|
|
||||||
|
logging.basicConfig(level=logging.DEBUG)
|
||||||
|
logg = logging.getLogger()
|
||||||
|
|
||||||
|
|
||||||
|
class TestEthCappedMinter(TestEthMinter, TestCappedToken, TestEthMinterInterface):
|
||||||
|
|
||||||
|
def setUp(self):
|
||||||
|
super(TestEthCappedMinter, self).setUp()
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
unittest.main()
|
Loading…
Reference in New Issue
Block a user