File tree 1 file changed +13
-3
lines changed 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -224,10 +224,15 @@ def test_schemas(self):
224
224
schema_type ,
225
225
valid_schema ,
226
226
) in valid_schemas .items ():
227
- if not schema_type .matches (valid_schema ):
227
+ if not schema_type .matches ( # pylint: disable=no-member
228
+ valid_schema
229
+ ):
228
230
print ("bad schema: " + repr (valid_schema ))
229
231
230
- self .assertEqual (True , schema_type .matches (valid_schema ))
232
+ self .assertEqual (
233
+ True ,
234
+ schema_type .matches (valid_schema ), # pylint: disable=no-member
235
+ )
231
236
232
237
# Test conditions for invalid schemas.
233
238
# Set the 'valid_schema' of 'valid_schemas' to an invalid
@@ -237,7 +242,12 @@ def test_schemas(self):
237
242
238
243
if isinstance (schema_type , securesystemslib .schema .Integer ):
239
244
invalid_schema = "BAD"
240
- self .assertEqual (False , schema_type .matches (invalid_schema ))
245
+ self .assertEqual (
246
+ False ,
247
+ schema_type .matches ( # pylint: disable=no-member
248
+ invalid_schema
249
+ ),
250
+ )
241
251
242
252
def test_unix_timestamp_to_datetime (self ):
243
253
# Test conditions for valid arguments.
You can’t perform that action at this time.
0 commit comments