tests/test_pyderasn.py | 10 +++++++++- diff --git a/tests/test_pyderasn.py b/tests/test_pyderasn.py index c203e508a911932276b9e0fec5d0f9ed3933061ecaed113d15a4e91ba243a866..29099b8584887b92b89c35472d27707be4b67b079609e4cc09b676d8fb1dd803 100644 --- a/tests/test_pyderasn.py +++ b/tests/test_pyderasn.py @@ -7565,11 +7565,13 @@ self.assertTrue(decoded.bered) class TestX690PrefixedType(TestCase): - def runTest(self): + def test_1(self): self.assertSequenceEqual( VisibleString("Jones").encode(), hexdec("1A054A6F6E6573"), ) + + def test_2(self): self.assertSequenceEqual( VisibleString( "Jones", @@ -7577,6 +7579,8 @@ impl=tag_encode(3, klass=TagClassApplication), ).encode(), hexdec("43054A6F6E6573"), ) + + def test_3(self): self.assertSequenceEqual( Any( VisibleString( @@ -7587,6 +7591,8 @@ expl=tag_ctxc(2), ).encode(), hexdec("A20743054A6F6E6573"), ) + + def test_4(self): self.assertSequenceEqual( OctetString( VisibleString( @@ -7597,6 +7603,8 @@ impl=tag_encode(7, form=TagFormConstructed, klass=TagClassApplication), ).encode(), hexdec("670743054A6F6E6573"), ) + + def test_5(self): self.assertSequenceEqual( VisibleString("Jones", impl=tag_ctxp(2)).encode(), hexdec("82054A6F6E6573"),