Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/m/a/marine-integrations-HEAD/mi/instrument/seabird/sbe37smb/ooicore/test/test_driver.py   marine-integrations(Download)
            ResourceAgentEvent.PAUSE,
            ResourceAgentEvent.RESUME,
            ResourceAgentEvent.GO_COMMAND,
            ResourceAgentEvent.GO_DIRECT_ACCESS
        ]

src/m/a/marine-integrations-HEAD/mi/idk/unit_test.py   marine-integrations(Download)
 
            ResourceAgentState.DIRECT_ACCESS: [
                ResourceAgentEvent.GO_COMMAND
            ]
        }
 
        log.debug("Stopping Direct Access: Send Go Command")
        cmd = AgentCommand(command=ResourceAgentEvent.GO_COMMAND)
        retval = self.instrument_agent_client.execute_agent(cmd, timeout=timeout) # ~9s to run
 
        self.assertEqual(state, ResourceAgentState.DIRECT_ACCESS)
 
        cmd = AgentCommand(command=ResourceAgentEvent.GO_COMMAND)
        retval = self.instrument_agent_client.execute_agent(cmd,
                                                            timeout=EXECUTE_TIMEOUT)
        # If in DA mode walk it out
        if(state == ResourceAgentState.DIRECT_ACCESS):
            cmd = AgentCommand(command=ResourceAgentEvent.GO_COMMAND)
            self.instrument_agent_client.execute_agent(cmd, timeout=30)
 

src/m/a/marine-integrations-HEAD/mi/instrument/wetlabs/fluorometer/flort_d/test/test_driver.py   marine-integrations(Download)
 
        da_capabilities = copy.deepcopy(capabilities)
        da_capabilities[AgentCapabilityType.AGENT_COMMAND] = [ResourceAgentEvent.GO_COMMAND]
        da_capabilities[AgentCapabilityType.RESOURCE_COMMAND] = []
 

src/m/a/marine-integrations-HEAD/mi/instrument/wetlabs/ac_s/ooicore/test/test_driver.py   marine-integrations(Download)
        log.debug("test_direct_access_telnet_mode: waiting 120 seconds for manual testing")
        gevent.sleep(120)
        cmd = AgentCommand(command=ResourceAgentEvent.GO_COMMAND)
        retval = self.instrument_agent_client.execute_agent(cmd) 
 

src/m/a/marine-integrations-HEAD/mi/instrument/seabird/sbe54tps/test/test_driver.py   marine-integrations(Download)
 
        da_capabilities = copy.deepcopy(capabilities)
        da_capabilities[AgentCapabilityType.AGENT_COMMAND] = [ResourceAgentEvent.GO_COMMAND]
        da_capabilities[AgentCapabilityType.RESOURCE_COMMAND] = []
 

src/m/a/marine-integrations-HEAD/mi/instrument/seabird/sbe26plus/test/test_driver.py   marine-integrations(Download)
        ##################
        da_capabilities = copy.deepcopy(capabilities)
        da_capabilities[AgentCapabilityType.AGENT_COMMAND] = [ResourceAgentEvent.GO_COMMAND]
        da_capabilities[AgentCapabilityType.RESOURCE_COMMAND] = []
 

src/m/a/marine-integrations-HEAD/mi/instrument/mclane/ras/rasfl/test/test_driver.py   marine-integrations(Download)
        gevent.sleep(120)
 
        cmd = AgentCommand(command=ResourceAgentEvent.GO_COMMAND)
        self.instrument_agent_client.execute_agent(cmd)
 

src/m/a/marine-integrations-HEAD/mi/instrument/mclane/ras/ppsdn/test/test_driver.py   marine-integrations(Download)
        gevent.sleep(120)
 
        cmd = AgentCommand(command=ResourceAgentEvent.GO_COMMAND)
        self.instrument_agent_client.execute_agent(cmd)