<commit_before># source docker helpers
. util/docker.sh

@test "Start Container" {
  start_container "simple-single" "192.168.0.2"
}

@test "simple-single-plan" {
  run run_hook "simple-single" "plan" "$(payload plan)"
  [ "$status" -eq 0 ]

  echo "$output"

  expected=$(cat <<-END
{
  "redundant": true,
  "horizontal": false,
  "user": "nanobox",
  "users": [
    {
      "username": "nanobox",
      "meta": {
        "privileges": [<commit_msg>update the test for the plan<commit_after># source docker helpers
. util/docker.sh

@test "Start Container" {
  start_container "simple-single" "192.168.0.2"
}

@test "simple-single-plan" {
  run run_hook "simple-single" "plan" "$(payload plan)"
  [ "$status" -eq 0 ]

  echo "$output"

  expected=$(cat <<-END
{
  "redundant": false,
  "horizontal": false,
  "user": "nanobox",
  "users": [
    {
      "username": "nanobox",
      "meta": {
        "privileges": [
{'fraction_non_alphanumeric': 0.185589519650655, 'fraction_numerical': 0.019650655021834062, 'mean_word_length': 3.2453703703703702, 'pattern_counts': {'":': 14, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '3997456', 'n_tokens_mistral': 356, 'n_tokens_neox': 330, 'n_words': 79}