hunk.code_window:             [t.strip().strip('%') for t in kpi_values],
               ['100', str(mailing.opened_ratio), str(mailing.replied_ratio)]
           )
           # test body content: clicks (a bit hackish but hey we are in stable)
           kpi_click_values = body_html.xpath('//div[hasclass("global_layout")]/table//tr[contains(@style,"color: #888888")]/td[contains(@style,"width: 30%")]/text()')
           first_link_value = int(kpi_click_values[0].strip().split()[1].strip('()'))
           self.assertEqual(first_link_value, mailing.clicked)
       @users('user_marketing')
       @mute_logger('odoo.addons.mass_mailing.models.mailing', 'odoo.addons.mail.models.mail_mail', 'odoo.addons.mail.models.mail_thread')
  
hunk.labels: keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:         kpi_click_values = body_html.xpath('//table//tr[contains(@style,"color: #888888")]/td[contains(@style,"width: 30%")]/text()')
  
hunk.file_path: addons/test_mass_mailing/tests/test_mailing_statistics.py
hunk.type: replace
file: /*
   * SPONSORS
   */
  
  .o_wevent_event .o_wevent_sponsor {
      position: relative;
      display: inline-block;
      overflow: hidden;
  }
  
  .o_wevent_event .o_ribbon {
      font: 12px Sans-Serif;
      color: #404040;
      padding-top: 2px;
      padding-bottom: 2px;
      -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
      -moz-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
      box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
  }
  
  .o_wevent_event .ribbon_Gold {
      background-color: #FDE21B;
      background-image: -webkit-gradient(linear, left top, left bottom, from(#E9CE0C), to(#FDE21B));
      background-image: -webkit-linear-gradient(top, #E9CE0C, #FDE21B);
      background-image: -moz-linear-gradient(top, #E9CE0C, #FDE21B);
      background-image: -ms-linear-gradient(top, #E9CE0C, #FDE21B);
      background-image: -o-linear-gradient(top, #E9CE0C, #FDE21B);
  }
  
  .o_wevent_event .ribbon_Silver {
      background-color: #CCCCCC;
      background-image: -webkit-gradient(linear, left top, left bottom, from(#BBBBBB), to(#CCCCCC));
      background-image: -webkit-linear-gradient(top, #BBBBBB, #CCCCCC);
      background-image: -moz-linear-gradient(top, #BBBBBB, #CCCCCC);
      background-image: -ms-linear-gradient(top, #BBBBBB, #CCCCCC);
      background-image: -o-linear-gradient(top, #BBBBBB, #CCCCCC);
  }
  
  .o_wevent_event .ribbon_Bronze {
      background-color: #DB9141;
      background-image: -webkit-gradient(linear, left top, left bottom, from(#C2792A), to(#DB9141));
      background-image: -webkit-linear-gradient(top, #C2792A, #DB9141);
      background-image: -moz-linear-gradient(top, #C2792A, #DB9141);
      background-image: -ms-linear-gradient(top, #C2792A, #DB9141);
      background-image: -o-linear-gradient(top, #C2792A, #DB9141);
  }
  
  /*
   * EVENT TOOL: SPONSOR WIDGET
   */
  .o_wevent_event .o_wevent_sponsor_card {
      position: relative;
      width: 100px;
      height: 100px;
      border: 1px solid $gray-200;
      background-color: $white;
      margin: 0 -1px -1px 0;
      cursor: pointer;
  
      .ribbon-wrapper {
          width: 50px;
          height: 50px;
      }
  
      .ribbon {
          font: bold 10px Sans-Serif;
          padding: 2px 0;
          top: 10px;
          width: 70px;
          background-image: none; // not needed if colors for ribbons (Gold,Silver,Bronze) is removed in website_event_track.css
  
          &.ribbon_Gold {
              background-color: #e3aa24;
              color:$white;
          }
  
          &.ribbon_Silver {
              background-color: #adb5bd;
              color: $white;
          }
  
          &.ribbon_Bronze {
              background-color: #c7632a;
              color: $white;
          }
      }
  
      &:before {
          content: "";
          display: block;
          @include o-position-absolute(0,0,0,0);
          background-color: $black;
          opacity: 0;
          transition: opacity .3s;
      }
  
      &:hover:before {
          opacity:.1;
      }
  }
  