Example #1
0
 def test_get_service_name_google_plus(self):
     channel = SocialMediaChannel(
         official=self.official,
         channel_type="GooglePlus",
         channel_id="RepHalRogers",
     )
     self.assertEqual(channel.get_service_name(), "Google+")
Example #2
0
 def test_get_service_name_twitter(self):
     channel = SocialMediaChannel(
         official=self.official,
         channel_type="Twitter",
         channel_id="RepHalRogers",
     )
     self.assertEqual(channel.get_service_name(), "Twitter")
Example #3
0
 def test_get_service_name_youtube(self):
     channel = SocialMediaChannel(
         official=self.official,
         channel_type="YouTube",
         channel_id="RepHalRogers",
     )
     self.assertEqual(channel.get_service_name(), "YouTube")
Example #4
0
 def test_get_service_name_facebook(self):
     channel = SocialMediaChannel(
         official=self.official,
         channel_type="Facebook",
         channel_id="CongressmanHalRogers",
     )
     self.assertEqual(channel.get_service_name(), "Facebook")