Beispiel #1
0
  def test_coppy_name(self):
    '''
    test to confirm we can coppy appName
    '''
    self.new_credential.save_credential()
    test_credential = Credentials("facebook","face")
    test_credential.save_credential()
    Credentials.coppy("facebook")

    self.assertEqual(test_credential.appName, pyperclip.paste())
Beispiel #2
0
def coppy_name(appName):
  '''
  finction that coppies app name
  '''
  return Credentials.coppy(appName)