示例#1
0
 def test_make_pod_command(self) -> NoReturn:
     """Teting make pod command."""
     expected_result = [
         "/bin/bash",
         "-ec",
         "while :; do service ssh restart; sleep 5 ; done",
     ]
     pod_command = pod_spec._make_pod_command()
     self.assertListEqual(expected_result, pod_command)
示例#2
0
    def test_make_pod_command(self) -> NoReturn:
        """Teting make pod command."""

        expected_result = ["./amf_start.sh", "&"]
        pod_command = pod_spec._make_pod_command()
        self.assertEqual(expected_result, pod_command)
示例#3
0
    def test_make_pod_command(self) -> NoReturn:
        """Testing make pod command"""

        expected_result = ["./init_pcscf.sh", "&"]
        pod_command = pod_spec._make_pod_command()
        self.assertEqual(expected_result, pod_command)