def assumeNotInsideEventually()

in app/com/gu/contentapi/sanity/support/HttpRequestSupport.scala [45:48]


  def assumeNotInsideEventually(statuses:Int*)(response: WSResponse): Unit = {
    // workaround until https://github.com/scalatest/scalatest/pull/807 is merged
    statuses.foreach(s => if (response.status == s) throw new TestPendingException)
  }