<commit_before>package actors.daily

import akka.actor.{ActorSystem, Props}
import akka.pattern.ask
import akka.testkit.TestKit
import akka.util.Timeout
import com.typesafe.config.ConfigFactory
import drt.shared.CrunchApi.{CrunchMinute, MinutesContainer}
import drt.shared.Queues.EeaDesk
import drt.shared.Terminals.{T1, Terminal}
import drt.shared.{SDateLike, TQM}
import org.specs2.mutable.SpecificationLike
import services.SDate
import test.TestActors.{ResetData, TestTerminalDayQueuesActor}

import scala.concurrent.Await
import scala.concurrent.duration._


class RequestAndTerminateActorSpec extends TestKit(ActorSystem("drt", ConfigFactory.load("leveldb")))
  with SpecificationLike {
  implicit val timeout: Timeout = new Timeout(5 seconds)

  val myNow: () => SDateLike = () => SDate("2020-04-28")
<commit_msg>DRTII-60 Use common leveldb test config<commit_after>package actors.daily

import akka.actor.{ActorSystem, Props}
import akka.pattern.ask
import akka.testkit.TestKit
import akka.util.Timeout
import com.typesafe.config.ConfigFactory
import drt.shared.CrunchApi.{CrunchMinute, MinutesContainer}
import drt.shared.Queues.EeaDesk
import drt.shared.Terminals.{T1, Terminal}
import drt.shared.{SDateLike, TQM}
import org.specs2.mutable.SpecificationLike
import services.SDate
import test.TestActors.{ResetData, TestTerminalDayQueuesActor}

import scala.concurrent.Await
import scala.concurrent.duration._


class RequestAndTerminateActorSpec extends TestKit(ActorSystem("drt", LevelDbConfig.config))
  with SpecificationLike {
  implicit val timeout: Timeout = new Timeout(5 seconds)

  val myNow: () => SDateLike = () => SDate("2020-04-28")

{'fraction_non_alphanumeric': 0.10090634441087613, 'fraction_numerical': 0.014501510574018127, 'mean_word_length': 6.426008968609866, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '259294', 'n_tokens_mistral': 557, 'n_tokens_neox': 537, 'n_words': 111}