def test_ping(self):
        ret = self.run_function('test.ping')
        self.assertTrue(ret, 'Ping did not return true')
Tests that it chooses the best strategy.
dataset/ETHPy150Open saltstack/salt/tests/integration/ssh/deploy.py/SSHTest.test_ping--crossover with--dataset/ETHPy150Open Axelrod-Python/Axelrod/axelrod/tests/unit/test_qlearner.py/TestHesitantQLearner.test_strategy