def test_full_credentials(self):
     account, api_key = find_credentials()
     self.assertEqual(account, 'APP_ID')
     self.assertEqual(api_key, 'AUTH_TOKEN')
 def test_full_credentials(self):
     account, api_key = find_credentials()
     self.assertEqual(account, 'APP_ID')
     self.assertEqual(api_key,'AUTH_TOKEN')
 def test_partial_credentials(self):
     account, api_key = find_credentials()
     self.assertEqual(account, None)
     self.assertEqual(api_key, None)
 def test_full_credentials(self):
     """Verify outcome of full credentials sent to client initialization."""
     account, api_key = find_credentials()
     self.assertEqual(account, 'APP_ID')
     self.assertEqual(api_key,'AUTH_TOKEN')
 def test_partial_credentials(self):
     account, api_key = find_credentials()
     self.assertEqual(account, None)
     self.assertEqual(api_key,None)
 def test_partial_credentials(self):
     """Verify outcome of partial credentials sent to client initialization."""
     account, api_key = find_credentials()
     self.assertEqual(account, None)
     self.assertEqual(api_key,None)
 def test_no_credentials(self):
     """Verify find_credentials() returns pair of Nones if no env variables."""
     account, api_key = find_credentials()
     self.assertEqual(account, None)
     self.assertEqual(api_key,None)
示例#8
0
 def test_full_credentials(self):
     """Verify outcome of full credentials sent to client initialization."""
     account, api_key = find_credentials()
     self.assertEqual(account, 'APP_ID')
     self.assertEqual(api_key, 'AUTH_TOKEN')
示例#9
0
 def test_partial_credentials(self):
     """Verify outcome of partial credentials sent to client initialization."""
     account, api_key = find_credentials()
     self.assertEqual(account, None)
     self.assertEqual(api_key, None)
示例#10
0
 def test_no_credentials(self):
     """Verify find_credentials() returns pair of Nones if no env variables."""
     account, api_key = find_credentials()
     self.assertEqual(account, None)
     self.assertEqual(api_key, None)