Move documentation to texinfo, add makefiles, rename Cert to Attestation (python)

This commit is contained in:
lash
2023-05-24 08:45:02 +01:00
parent d4a1df3ec9
commit 2ff7724fa6
18 changed files with 261 additions and 48 deletions

View File

@@ -9,7 +9,7 @@ from rdflib import Graph
#from hypothesis import given, strategies
# local imports
from cic_schema import Cert
from cic_schema import Attestation
test_dir = os.path.realpath(os.path.dirname(__file__))
testdata_dir = os.path.join(test_dir, 'testdata')
@@ -20,9 +20,9 @@ class TestNft(unittest.TestCase):
def setUp(self):
#fp = os.path.join(testdata_dir, 'test_voucher.rdf')
#self.graph_voucher = Cert.from_path(fp)
#self.graph_voucher = Attestation.from_path(fp)
fp = os.path.join(testdata_dir, 'test_tx2.rdf')
self.graph_tx = Cert.from_path(fp)
self.graph_tx = Attestation.from_path(fp)
def test_simplest(self):