@@ -50,7 +50,32 @@ def test_find_docs(self):
50
50
51
51
# Make incredibly basic assertions about the collected data.
52
52
assert len (answer ) == 1
53
- assert len (answer ['protos/descriptor.proto' ]) == 22
53
+ assert {i .name for i in answer ['protos/descriptor.proto' ]} == {
54
+ 'google.protobuf.FileDescriptorSet' ,
55
+ 'google.protobuf.FieldOptions' ,
56
+ 'google.protobuf.FileOptions' ,
57
+ 'google.protobuf.MessageOptions' ,
58
+ 'google.protobuf.FileDescriptorProto' ,
59
+ 'google.protobuf.FieldDescriptorProto' ,
60
+ 'google.protobuf.ServiceOptions' ,
61
+ 'google.protobuf.MethodDescriptorProto' ,
62
+ 'google.protobuf.EnumDescriptorProto' ,
63
+ 'google.protobuf.EnumValueDescriptorProto' ,
64
+ 'google.protobuf.UninterpretedOption.NamePart' ,
65
+ 'google.protobuf.SourceCodeInfo' ,
66
+ 'google.protobuf.SourceCodeInfo.Location' ,
67
+ 'google.protobuf.GeneratedCodeInfo.Annotation' ,
68
+ 'google.protobuf.MethodOptions' ,
69
+ 'google.protobuf.DescriptorProto' ,
70
+ 'google.protobuf.GeneratedCodeInfo' ,
71
+ 'google.protobuf.EnumValueOptions' ,
72
+ 'google.protobuf.UninterpretedOption' ,
73
+ 'google.protobuf.ServiceDescriptorProto' ,
74
+ 'google.protobuf.OneofOptions' ,
75
+ 'google.protobuf.DescriptorProto.ReservedRange' ,
76
+ 'google.protobuf.OneofDescriptorProto' ,
77
+ 'google.protobuf.EnumOptions' ,
78
+ }
54
79
55
80
def test_find_docs_no_output_files (self ):
56
81
# Read the file, but this time wipe out the list of target output
0 commit comments