Searched refs:mock_getroot (Results 1 – 1 of 1) sorted by relevance
1642 def test_cleanup(self, mock_runcmd, mock_getroot): argument1646 mock_getroot.return_value = ['/tmp/tmp_AbcXyz', 'test_that_results_fake']1651 self.assertEqual(mock_getroot.call_count, 1)1659 mock_getroot.reset_mock()1661 mock_getroot.return_value = ['/tmp/tmp_AbcXyz', 'other_results_fake']1666 self.assertEqual(mock_getroot.call_count, 1)1673 mock_getroot.reset_mock()1676 self.assertEqual(mock_getroot.call_count, 0)1681 mock_getroot.reset_mock()1686 self.assertEqual(mock_getroot.call_count, 0)