Skip to content

Commit

Permalink
chore: exteded detail in tc composition unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
peppelinux committed Mar 25, 2024
1 parent 239b2e9 commit 08d2a00
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,10 @@ def test_trust_chain_valid_with_intermediary(self, mocked):
_p3 = unpad_jwt_payload(tc_ser[3])

self.assertEqual(_p0['iss'], _p0['sub'])
self.assertEqual(_p0['iss'], _p1['sub'])
self.assertNotEqual(_p2['iss'], _p1['sub'])
self.assertNotEqual(_p2['iss'], _p2['sub'])
self.assertEqual(_p3['sub'], _p2['iss'])
self.assertEqual(_p3['iss'], _p3['sub'])

dumps = dumps_statements_from_trust_chain_to_db(trust_chain)
Expand Down

0 comments on commit 08d2a00

Please sign in to comment.