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()
def test_connect(self): manager = nntp.manager.Manager(self.config) manager.connect() manager.disconnect()