def testCreateTestbedClientConfDefault(self):
        conf = TestbedClientConfiguration(2)

        self.assertEquals(2, conf.get_id())
        self.assertNotEquals(None, conf.get_port())
        self.assertEquals("", conf.get_base_directory())
        self.assertEquals(32, conf.get_uprate())
        self.assertEquals(32, conf.get_downrate())
        self.assertEquals(0, len(conf.get_leeching_list()))
        self.assertEquals(0, len(conf.get_seeding_list()))
        self.assertEquals("none", conf.get_peer_selection_mode())
        self.assertEquals("none", conf.get_neighbour_selection_mode())
 def testCreateTestbedClientConfDefault(self):
     conf = TestbedClientConfiguration(2)
     
     self.assertEquals(2, conf.get_id())
     self.assertNotEquals(None, conf.get_port())
     self.assertEquals("", conf.get_base_directory())
     self.assertEquals(32, conf.get_uprate())
     self.assertEquals(32, conf.get_downrate())
     self.assertEquals(0, len(conf.get_leeching_list()))
     self.assertEquals(0, len(conf.get_seeding_list()))
     self.assertEquals("none", conf.get_peer_selection_mode())
     self.assertEquals("none", conf.get_neighbour_selection_mode())