(self, mock_subprocess)
| 68 | @unittest.skip('') |
| 69 | @mock.patch('saws.resources.subprocess') |
| 70 | def test_query_aws_instance_ids(self, mock_subprocess): |
| 71 | instance_ids = self.resources.resource_lists[ |
| 72 | self.resources.ResourceType.INSTANCE_IDS.value] |
| 73 | instance_ids._query_aws(instance_ids.QUERY) |
| 74 | mock_subprocess.check_output.assert_called_with( |
| 75 | instance_ids.QUERY, |
| 76 | universal_newlines=True, |
| 77 | shell=True) |
| 78 | |
| 79 | # TODO: Fix mocks |
| 80 | @unittest.skip('') |
nothing calls this directly
no test coverage detected