

def testPresenceNoRequest(self):
    '\n        Test Presenter with no requests (C1)\n        '
    console.terse('{0}\n'.format(self.testPresenceNoRequest.__doc__))
    self.addEnterDeed('TestOptsSetupMaster')
    act.addEnterDeed('SaltRaetManorLaneSetup')
    self.addEnterDeed('PresenterTestSetup')
    act = self.addRecurDeed('SaltRaetPresenter')
    self.resolve()
    self.frame.enter()
    self.frame.recur()
    testStack = self.store.fetch('.salt.test.lane.stack').value
    self.assertEqual(len(testStack.rxMsgs), 0)
    testStack.serviceAll()
    self.assertEqual(len(testStack.rxMsgs), 0)
    act.actor.lane_stack.value.server.close()
    testStack = self.store.fetch('.salt.test.lane.stack')
    if testStack:
        testStack.value.server.close()

dataset/ETHPy150Open saltstack/salt/salt/daemons/test/test_presence.py PresenterTestCase.testPresenceNoRequest/VarMisuse@35/79 `self`->`act`