Decode context and defines feature extending
[pyderasn.git] / tests / test_crts.py
index 8f8f1ec7b98c164a860a3087d2353573ea83685d..9c6b76c87a3fbfdf97bb6e56f9dadd3c8e514968 100644 (file)
@@ -98,13 +98,13 @@ class OrganizationName(Choice):
 
 class AttributeTypeAndValue(Sequence):
     schema = (
-        ("type", AttributeType(defines=("value", {
+        ("type", AttributeType(defines=(((".", "value"), {
             ObjectIdentifier("2.5.4.6"): PrintableString(),
             ObjectIdentifier("2.5.4.8"): PrintableString(),
             ObjectIdentifier("2.5.4.7"): PrintableString(),
             ObjectIdentifier("2.5.4.10"): OrganizationName(),
             ObjectIdentifier("2.5.4.3"): PrintableString(),
-        }))),
+        }),))),
         ("value", AttributeValue()),
     )