cic-cli/tests/test_meta.py

32 lines
526 B
Python
Raw Normal View History

2021-10-11 12:27:51 +02:00
# standard imports
import unittest
import logging
import os
2021-10-11 12:27:51 +02:00
# external imports
from hexathon import strip_0x
# local imports
from cic.meta import Meta
2021-10-11 12:27:51 +02:00
# test imports
from tests.base_cic import (
TestCICBase,
test_data_dir,
)
2021-10-11 12:27:51 +02:00
logging.basicConfig(level=logging.DEBUG)
logg = logging.getLogger()
class TestCICMeta(TestCICBase):
def test_meta(self):
fp = os.path.join(test_data_dir, 'proof')
m = Meta(fp)
m.load()
2021-10-11 12:27:51 +02:00
if __name__ == '__main__':
unittest.main()