29 lines
606 B
Python
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()
|