@@ -369,7 +369,7 @@ class MockPluginFixedValue(MockBasePlugin):
369
369
def analyze (self , f , filename ):
370
370
# We're not testing the plugin's ability to analyze secrets, so
371
371
# it doesn't matter what we return
372
- secret = PotentialSecret ('mock fixed value type' , filename , 1 , 'asdf' )
372
+ secret = PotentialSecret ('mock fixed value type' , filename , 'asdf' , 1 )
373
373
return {secret : secret }
374
374
375
375
@@ -380,7 +380,7 @@ class MockPluginFileValue(MockBasePlugin):
380
380
def analyze (self , f , filename ):
381
381
# We're not testing the plugin's ability to analyze secrets, so
382
382
# it doesn't matter what we return
383
- secret = PotentialSecret ('mock file value type' , filename , 2 , f .read ().strip ())
383
+ secret = PotentialSecret ('mock file value type' , filename , f .read ().strip (), 2 )
384
384
return {secret : secret }
385
385
386
386
@@ -389,7 +389,7 @@ class MockPasswordPluginValue(MockBasePlugin):
389
389
secret_type = 'mock_plugin_file_value'
390
390
391
391
def analyze (self , f , filename ):
392
- password_secret = PotentialSecret ('Password' , filename , 2 , f .read ().strip ())
392
+ password_secret = PotentialSecret ('Password' , filename , f .read ().strip (), 2 )
393
393
return {
394
394
password_secret : password_secret ,
395
395
}
0 commit comments