def test_SecurityCommand(): assert OS_X.SecurityCommand('get') == 'get-generic-password' assert OS_X.SecurityCommand('set', 'internet') == 'set-internet-password'
def test_SecurityCommand(self): self.assertEqual(OS_X.SecurityCommand('get'), 'get-generic-password') self.assertEqual(OS_X.SecurityCommand('set', 'internet'), 'set-internet-password')