Wasps secured a home quarter-final in the European Challenge Cup with a hard-fought bonus-point victory against Bordeaux-Begles in Pool Three.
Vunga Lilo's try gave the visitors an early lead before Elliot Daly and Matt Everard put Wasps 13-7 ahead.
Davis kicked three more penalties after the break, with Laurent Ferreres adding three points for the visitors.
Wasps were then awarded a penalty try before Tom Lindsay crossed to give them a comfortable margin of victory.
The Premiership strugglers have secured a home tie with Biarritz in the last eight and, if they win, will face Brive or Scarlets in the semi-finals.
Wasps: Southwell; Haughton, Daly, Waldouck, Wallace; Davis, Simpson; Payne, Webber, Broster; Birkett, Wentzel; Poff, Everand, Jones.
Replacements: Taulafo for Payne (65), Lindsay for Webber (73).Not Used: Castex, Burton, Harris, Berry, Davies, Mayor.
Bordeaux-Begles: Ferreres; Lilo, Mailei, Brousse, Brana; Lopez, Saubusse; Labbe, Rofes, Roux; Treloar, Tisseau; Ternisien, Madaule, Houston.
Replacements: Carballo for Brana (61), Seron for Lopez (65), Chalmers for Leo (67), Denetre for Madaule (51).Not Used: Avei, Forbes, Davies, Connor.
Sin Bin: Chalmers (71).
Referee: Neil Hennessey (WRFU).