Example #1
0
 def setUp(self):
   super(NotificationTest, self).setUp()
   self.popular = api.actor_get(api.ROOT, '*****@*****.**')
   self.unpopular = api.actor_get(api.ROOT, '*****@*****.**')
   self.girlfriend = api.actor_get(api.ROOT, '*****@*****.**')
   self.boyfriend = api.actor_get(api.ROOT, '*****@*****.**')
   self.otherboyfriend = api.actor_get(api.ROOT, '*****@*****.**')
   self.channel = api.channel_get(api.ROOT, '#[email protected]')
   self.popular_entry = api.entry_get(
       api.ROOT, 'stream/[email protected]/presence/12345')
   self.girlfriend_entry = api.entry_get(
       api.ROOT, 'stream/[email protected]/presence/16961')
   self.channel_entry = api.entry_get(
       api.ROOT, 'stream/#[email protected]/presence/13345')
Example #2
0
 def setUp(self):
   super(NotificationTest, self).setUp()
   self.popular = api.actor_get(api.ROOT, '*****@*****.**')
   self.unpopular = api.actor_get(api.ROOT, '*****@*****.**')
   self.girlfriend = api.actor_get(api.ROOT, '*****@*****.**')
   self.boyfriend = api.actor_get(api.ROOT, '*****@*****.**')
   self.otherboyfriend = api.actor_get(api.ROOT, '*****@*****.**')
   self.channel = api.channel_get(api.ROOT, '#[email protected]')
   self.popular_entry = api.entry_get(
       api.ROOT, 'stream/[email protected]/presence/12345')
   self.girlfriend_entry = api.entry_get(
       api.ROOT, 'stream/[email protected]/presence/16961')
   self.channel_entry = api.entry_get(
       api.ROOT, 'stream/#[email protected]/presence/13345')
   self.pshb_endpoints = [x.target for x in api.pshb_get_firehoses(api.ROOT)
                          if x.state == 'subscribed']
Example #3
0
 def setUp(self):
     super(NotificationTest, self).setUp()
     self.popular = api.actor_get(api.ROOT, '*****@*****.**')
     self.unpopular = api.actor_get(api.ROOT, '*****@*****.**')
     self.girlfriend = api.actor_get(api.ROOT, '*****@*****.**')
     self.boyfriend = api.actor_get(api.ROOT, '*****@*****.**')
     self.otherboyfriend = api.actor_get(api.ROOT,
                                         '*****@*****.**')
     self.channel = api.channel_get(api.ROOT, '#[email protected]')
     self.popular_entry = api.entry_get(
         api.ROOT, 'stream/[email protected]/presence/12345')
     self.girlfriend_entry = api.entry_get(
         api.ROOT, 'stream/[email protected]/presence/16961')
     self.channel_entry = api.entry_get(
         api.ROOT, 'stream/#[email protected]/presence/13345')
     self.pshb_endpoints = [
         x.target for x in api.pshb_get_firehoses(api.ROOT)
         if x.state == 'subscribed'
     ]