ge-capped-token/python/tests/test_cic_seal.py

31 lines
799 B
Python
Raw Normal View History

2023-06-08 17:58:20 +02:00
# 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_seal.unittest import TestEthSealInterface
from eth_seal.unittest.base import TestEthSeal
from ge_capped_token.unittest import TestCappedToken
logging.basicConfig(level=logging.DEBUG)
logg = logging.getLogger()
class TestEthCappedSeal(TestEthSeal, TestCappedToken, TestEthSealInterface):
def setUp(self):
super(TestEthCappedSeal, self).setUp()
self.set_method = self.seal
self.max_seal_state = 15
self.publish()
self.contracts['seal'] = self.address
self.roles['seal'] = self.accounts[0]
if __name__ == '__main__':
unittest.main()