Heat the olive oil in a large saucepan. Sauté the onion and garlic for a few minutes. Add the mushrooms and red wine and cook for 5 minutes, stirring occasionally, until the mushrooms have softened.
Add the tinned tomatoes, tomato paste, vegetable stock, sugar, Italian herbs. some salt and pepper and the cream. Stir and then allow to boil gently for 10 minutes until the sauce has thickened slightly. Check the seasoning and adjust if necessary.
Tip the cooked penne into the sauce and toss gently. Dish the pasta onto warmed plates and dot with little dollops of basil pesto. Add a sprinkling of parmesan cheese and serve immediately.