mirror of
https://github.com/chaintool-py/eth-erc20.git
synced 2026-04-27 12:51:05 +02:00
Add unittest for static token
This commit is contained in:
38
python/tests/test_static.py
Normal file
38
python/tests/test_static.py
Normal file
@@ -0,0 +1,38 @@
|
||||
# standard imports
|
||||
import os
|
||||
import unittest
|
||||
import json
|
||||
import logging
|
||||
import datetime
|
||||
|
||||
# external imports
|
||||
from chainlib.eth.constant import ZERO_ADDRESS
|
||||
from chainlib.eth.nonce import RPCNonceOracle
|
||||
from chainlib.eth.tx import receipt
|
||||
from chainlib.eth.block import (
|
||||
block_latest,
|
||||
block_by_number,
|
||||
)
|
||||
|
||||
# local imports
|
||||
from static_token import StaticToken
|
||||
from static_token.unittest import TestStaticToken
|
||||
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
logg = logging.getLogger()
|
||||
|
||||
testdir = os.path.dirname(__file__)
|
||||
|
||||
|
||||
class TestExpire(TestStaticToken):
|
||||
|
||||
def setUp(self):
|
||||
super(TestExpire, self).setUp()
|
||||
|
||||
|
||||
def test_static_interface(self):
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
Reference in New Issue
Block a user