Beispiel #1
0
 def test_get_api_secret_should_not_return_none_for_facebook(self):
     test_api_name = 'facebook'
     returned_result = oa_help.get_api_secret(test_api_name)
     self.assertIsNotNone(returned_result)
Beispiel #2
0
 def test_get_api_secret_should_not_return_none_for_googleplus(self):
     test_api_name = 'googleplus'
     returned_result = oa_help.get_api_secret(test_api_name)
     self.assertIsNotNone(returned_result)
Beispiel #3
0
 def test_get_api_secret_should_return_string_for_facebook(self):
     test_api_name = 'facebook'
     returned_result = oa_help.get_api_secret(test_api_name)
     self.assertIsInstance(returned_result, str)
Beispiel #4
0
 def test_get_api_secret_should_not_return_none_for_twitter(self):
     test_api_name = 'twitter'
     returned_result = oa_help.get_api_secret(test_api_name)
     self.assertIsNotNone(returned_result)
Beispiel #5
0
 def test_get_api_secret_should_return_string_for_googleplus(self):
     test_api_name = 'googleplus'
     returned_result = oa_help.get_api_secret(test_api_name)
     self.assertIsInstance(returned_result, str)
Beispiel #6
0
 def test_get_api_secret_should_not_return_none_for_facebook(self):
     test_api_name = "facebook"
     returned_result = oa_help.get_api_secret(test_api_name)
     self.assertIsNotNone(returned_result)
Beispiel #7
0
 def test_get_api_secret_should_return_string_for_twitter(self):
     test_api_name = 'twitter'
     returned_result = oa_help.get_api_secret(test_api_name)
     self.assertIsInstance(returned_result, str)
Beispiel #8
0
 def test_get_api_secret_should_return_string_for_facebook(self):
     test_api_name = "facebook"
     returned_result = oa_help.get_api_secret(test_api_name)
     self.assertIsInstance(returned_result, str)
Beispiel #9
0
 def test_get_api_secret_should_not_return_none_for_googleplus(self):
     test_api_name = "googleplus"
     returned_result = oa_help.get_api_secret(test_api_name)
     self.assertIsNotNone(returned_result)
Beispiel #10
0
 def test_get_api_secret_should_return_string_for_googleplus(self):
     test_api_name = "googleplus"
     returned_result = oa_help.get_api_secret(test_api_name)
     self.assertIsInstance(returned_result, str)
Beispiel #11
0
 def test_get_api_secret_should_not_return_none_for_twitter(self):
     test_api_name = "twitter"
     returned_result = oa_help.get_api_secret(test_api_name)
     self.assertIsNotNone(returned_result)
Beispiel #12
0
 def test_get_api_secret_should_return_string_for_twitter(self):
     test_api_name = "twitter"
     returned_result = oa_help.get_api_secret(test_api_name)
     self.assertIsInstance(returned_result, str)