def test_login_1(self):
        (self.session, c_user,
         self.fb_dtsg) = login.get_session(self.user, self.passwd)

        self.assertIsNotNone(self.session)
        self.assertIsNotNone(c_user)
        self.assertIsNotNone(self.fb_dtsg)
 def setUp(self):
     with open('tests/test_config.json') as f:
         user_data = json.load(f)
     (self.session, self.c_user,
      self.fb_dtsg) = login.get_session(user_data['user'],
                                        user_data['passwd'])
     self.recipient_id = user_data['thread'][1][0]
 def setUp(self):
     with open('tests/test_config.json') as f:
         user_data = json.load(f)
     (self.session, self.c_user,
      self.fb_dtsg) = login.get_session(user_data['user'],
                                        user_data['passwd'])
     group = user_data['thread'][0]
     self.group_id = group[0]
     self.group_recipient = group[1]
     self.some_one_to_be_added = user_data['thread'][2][0]