'Test that the dependency check works for core + default platform when
there are missing PIP core dependencies.'

def test_default_platform_core_missing_deps(self):

    with patch(self.CURR_PLATFORM) as mock_curr_plat:
        with patch('sys.stdout') as stdout_mock:
            default = DefaultPlatform()
            default.PIP_PACKAGES = default.PIP_PACKAGES.copy()
            default.PIP_PACKAGES[CORE] = default.PIP_PACKAGES[CORE][:]
            default.PIP_PACKAGES[CORE].append(self.fake_rumba_dependency)
            mock_curr_plat.return_value = default
            must_exit = dependency_check(dependency_set=CORE, exit_on_failure=False)
            self.assertTrue(must_exit)
            all_stdout = ''.join((k[1][0] for k in stdout_mock.method_calls))
            self.assertIn(self.MISSING_DEP_CMD, all_stdout)
