test_interface.py (780B)
1 # standard imports 2 import unittest 3 import logging 4 import os 5 from chainlib.eth.nonce import RPCNonceOracle 6 from chainlib.eth.tx import receipt 7 from chainlib.eth.block import block_latest 8 from hexathon import same as same_hex 9 from eth_erc20 import ERC20 10 from giftable_erc20_token import GiftableToken 11 from eth_interface.unittest import TestERC165 12 13 # local imports 14 from erc20_pool.unittest import TestERC20Pool 15 from erc20_pool import Pool 16 17 logging.basicConfig(level=logging.DEBUG) 18 logg = logging.getLogger() 19 20 TestERC165.add_interface_check('9493f8b2') 21 TestERC165.add_interface_check('0d7491f8') 22 23 class TestPoolInterface(TestERC20Pool, TestERC165): 24 25 def test_interface(self): 26 self.address = self.pool_address 27 pass 28 29 30 if __name__ == '__main__': 31 unittest.main() 32