Beispiel #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')
Beispiel #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']
Beispiel #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'
     ]