cic-schema/python/tests/test_nft.py

35 lines
788 B
Python
Raw Normal View History

2023-03-09 09:30:47 +01:00
# standard imports
import unittest
import json
import os
# external imports
from jsonschema import validate as json_validate
from rdflib import Graph
#from hypothesis import given, strategies
# local imports
from cic_schema import Attestation
2023-03-09 09:30:47 +01:00
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 TestNft(unittest.TestCase):
def setUp(self):
2023-04-30 08:38:42 +02:00
#fp = os.path.join(testdata_dir, 'test_voucher.rdf')
#self.graph_voucher = Attestation.from_path(fp)
2023-04-30 08:38:42 +02:00
fp = os.path.join(testdata_dir, 'test_tx2.rdf')
self.graph_tx = Attestation.from_path(fp)
2023-03-09 09:30:47 +01:00
def test_simplest(self):
2023-04-30 08:38:42 +02:00
pass
2023-03-09 09:30:47 +01:00
if __name__ == '__main__':
unittest.main()