cic-schema/python/tests/test_json.py
2023-04-30 07:38:42 +01:00

29 lines
606 B
Python

# standard imports
import unittest
import json
import os
# external imports
#from jsonschema import validate as json_validate
# local imports
from cic_schema.nft import NFT
test_dir = os.path.realpath(os.path.dirname(__file__))
testdata_dir = os.path.join(test_dir, 'testdata')
#data_dir = os.path.join(test_dir, '..', 'cic_schema', 'data')
class TestJsonData(unittest.TestCase):
def setUp(self):
self.path = os.path.join(testdata_dir, 'test_valid.json')
self.nft = NFT.from_path(self.path)
def test_valid(self):
pass
if __name__ == '__main__':
unittest.main()