Esempio n. 1
0
 def test_load_smt_s390x(self, mock_run):
     """
     Unittest to load SMT.
     """
     backup = "dfdf"
     mock_run.return_value = ["", "", 0]
     command = ['zipl']
     smtmodel = SmtModel()
     smtmodel.load_smt_s390x(backup)
     mock_run.assert_called_once_with(command)
Esempio n. 2
0
 def test_load_smt_s390x(self, mock_run):
     """
     Unittest to load SMT.
     """
     backup = "dfdf"
     mock_run.return_value = ["", "", 0]
     command = ['zipl']
     smtmodel = SmtModel()
     smtmodel.load_smt_s390x(backup)
     mock_run.assert_called_once_with(command)