2021-02-17 12:44:35 +01:00
|
|
|
# standard imports
|
|
|
|
import unittest
|
|
|
|
|
|
|
|
# external imports
|
|
|
|
from chainlib.chain import ChainSpec
|
|
|
|
|
|
|
|
# local imports
|
2021-04-10 00:30:08 +02:00
|
|
|
from chainsyncer.backend.memory import MemBackend
|
2021-02-17 12:44:35 +01:00
|
|
|
|
|
|
|
# testutil imports
|
|
|
|
from tests.base import TestBase
|
|
|
|
|
|
|
|
|
|
|
|
class TestBasic(TestBase):
|
|
|
|
|
|
|
|
def test_hello(self):
|
|
|
|
chain_spec = ChainSpec('evm', 'bloxberg', 8996, 'foo')
|
2021-04-10 00:30:08 +02:00
|
|
|
backend = MemBackend(chain_spec, 'foo')
|
2021-02-17 12:44:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
unittest.main()
|