def setUp(self): super(AsyncRunManager_setupRun, self).setUp() self.actor = Actor('test') self.isSetUp = False self.q_sig = Link('test_sig', 'test_start', 'test_end') self.q_comm = Link('test_comm', 'test_start', 'test_end') self.runNum = 0
def setUp(self): super(AsyncRunManager_MultiActorTest, self).setUp() self.actor = Actor('test') self.isSetUp = False q_sig = Queue() self.q_sig = AsyncQueue(q_sig, 'test_sig', 'test_start', 'test_end') q_comm = Queue() self.q_comm = AsyncQueue(q_comm, 'test_comm', 'test_start', 'test_end') self.runNum = 0
class Actor_addLink(ActorDependentTestCase): def setUp(self): super(Actor_addLink, self).setUp() self.actor = Actor('test') def test_addLink(self): links = {'1': 'one', '2': 'two'} self.actor.setLinks(links) newName = '3' newLink = 'three' self.actor.addLink(newName, newLink) links.update({'3': 'three'}) self.assertEqual(self.actor.getLinks()['3'], 'three') self.assertEqual(self.actor.getLinks(), links) def tearDown(self): super(Actor_addLink, self).tearDown()
def setUp(self): super(RunManager_process, self).setUp() self.actor = Actor('test')
def setUp(self): super(RunManager_setupRun, self).setUp() self.actor = Actor('test') self.isSetUp = False self.runNum = 0
def setUp(self): super(Actor_addLink, self).setUp() self.actor = Actor('test')
def setUp(self): super(Actor_setStore, self).setUp() self.actor = Actor('test') self.limbo = Limbo()
def setUp(self): super(Actor_setLinkIn, self).setUp() self.actor = Actor('test')