Ejemplo n.º 1
0
def test_SecurityCommand():
    assert OS_X.SecurityCommand('get') == 'get-generic-password'
    assert OS_X.SecurityCommand('set', 'internet') == 'set-internet-password'
Ejemplo n.º 2
0
 def test_SecurityCommand(self):
     self.assertEqual(OS_X.SecurityCommand('get'), 'get-generic-password')
     self.assertEqual(OS_X.SecurityCommand('set', 'internet'),
                      'set-internet-password')