(self, mock_query)
| 367 | |
| 368 | @mock.patch("updateHostsFile.query_yes_no", return_value=True) |
| 369 | def testNoSkipPromptDisplay(self, mock_query): |
| 370 | gatherexclusions = prompt_for_exclusions(skipprompt=False) |
| 371 | self.assertTrue(gatherexclusions) |
| 372 | |
| 373 | output = sys.stdout.getvalue() |
| 374 | self.assertEqual(output, "") |
| 375 | |
| 376 | self.assert_called_once(mock_query) |
| 377 | |
| 378 | |
| 379 | class TestPromptForFlushDnsCache(Base): |
nothing calls this directly
no test coverage detected