コード例 #1
0
ファイル: test_auth.py プロジェクト: ipanova/pulp
 def test_validate_not_enabled(self):
     authenticator = Authenticator()
     authenticator.enabled = False
     authenticator.validate('', '', '')
コード例 #2
0
ファイル: test_auth.py プロジェクト: ipanova/pulp
 def test_validate_not_enabled(self):
     authenticator = Authenticator()
     authenticator.enabled = False
     authenticator.validate('', '', '')
コード例 #3
0
ファイル: test_auth.py プロジェクト: ipanova/pulp
 def test_signing_not_enabled(self):
     authenticator = Authenticator()
     authenticator.enabled = False
     signature = authenticator.sign('hello')
     self.assertEqual(signature, '')
コード例 #4
0
ファイル: test_auth.py プロジェクト: ipanova/pulp
 def test_signing_not_enabled(self):
     authenticator = Authenticator()
     authenticator.enabled = False
     signature = authenticator.sign('hello')
     self.assertEqual(signature, '')