erc20-vend

Create ERC20 tokens the can be minted by existing ERC20 token balance
Info | Log | Files | Refs

test_interfaces.py (519B)


      1 # standard imports
      2 import unittest
      3 import logging
      4 
      5 # external imports
      6 from eth_writer.unittest import TestEthWriterInterface
      7 
      8 # local imports
      9 from erc20_vend.unittest import TestVend
     10 
     11 logging.basicConfig(level=logging.DEBUG)
     12 logg = logging.getLogger()
     13 
     14 
     15 class TestEthWriter(TestVend, TestEthWriterInterface):
     16 
     17     def setUp(self):
     18         super(TestEthWriter, self).setUp()
     19         self.contracts['writer'] = self.address
     20         self.roles['writer'] = self.accounts[1]
     21 
     22 
     23 if __name__ == '__main__':
     24     unittest.main()