Skip to content

Commit

Permalink
chore: code linting
Browse files Browse the repository at this point in the history
  • Loading branch information
peppelinux committed May 12, 2022
1 parent b925a23 commit 573dbe9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/spid_sp_test/compliant_certificates.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def _get_tests(report:dict):
return _res


def check_certificate(cert_path:str, sector:str="public"):
def check_certificate(cert_path:str, sector:str = "public"):
_cert = PosixPath(cert_path)
_val = validate(_cert, sector)

Expand Down
2 changes: 1 addition & 1 deletion src/spid_sp_test/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def test_NameIDFormat_Transient(self):

return self.is_ok(_method)

def test_spid_compliant_certificates(self, sector:str="public"):
def test_spid_compliant_certificates(self, sector:str = "public"):
certs = self.doc.xpath(
'//SPSSODescriptor/KeyDescriptor[@use="signing"]'
"/KeyInfo/X509Data/X509Certificate/text()"
Expand Down

0 comments on commit 573dbe9

Please sign in to comment.