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

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

src/s/a/sahara-2014.1/sahara/tests/unit/plugins/intel/v3_0_2/test_installer.py   sahara(Download)
            1, "Hadoop datanode is not running    [FAILURE]")
        self.assertTrue(
            installer._is_hadoop_service_stopped(instance, 'datanode'))
 
        instance = mock.Mock()
        instance.remote.return_value.execute_command.return_value = (
            1, "Hadoop datanode is dead and pid file exists    [FAILURE]")
        self.assertTrue(
            installer._is_hadoop_service_stopped(instance, 'datanode'))