Example #1
0
 def test_add_groups(self):
     manager = nntp.manager.Manager(self.config)
     manager.connect()
     for group in self.config['groups']:
         name = group['name']
         manager.add_group(name)
     manager.index()
     manager.disconnect()
Example #2
0
 def test_connect(self):
     manager = nntp.manager.Manager(self.config)
     manager.connect()
     manager.disconnect()