<commit_before>#!/usr/bin/env bats

@test "list deployments 1" {
      run bundle exec cnd list deployments
      [ "$status" -eq 0 ]
      [ "${lines[0]}" = "Deployments:" ]
      [ "${lines[1]}" = "Default" ]
      [ "${lines[1]}" = "CA" ]
}

@test "list deployments 2" {
      run bundle exec cnd list deployments --name="moo:shard93"
      [ "$status" -eq 0 ]
      [ "${lines[0]}" = "Deployments:" ]
      [ "${lines[1]}" = "moo-shard93" ]
}

@test "list deployments 3" {
      run bundle exec cnd list deployments --name="93"
      [ "$status" -eq 0 ]
      [ "${lines[0]}" = "Deployments:" ]
      [ "${lines[1]}" = "moo:localring93" ]
      [ "${lines[2]}" = "moo:shard93" ]
      [ "${lines[3]}" = "moo:uns93" ]
}<commit_msg>Update tests with test deployment so they go green<commit_after>#!/usr/bin/env bats

@test "list deployments 1" {
      run bundle exec cnd list deployments
      [ "$status" -eq 0 ]
      [ "${lines[0]}" = "Default" ]
      [ "${lines[1]}" = "/api/deployments/3151" ]
      [ "${lines[2]}" = "Single Server Deployments" ]
}

@test "list deployments 2" {
      run bundle exec cnd list deployments --name="dnc_test_dep_1" servers --name="base_server_dnc_test_1"
      [ "$status" -eq 0 ]
      [ "${lines[0]}" = "base_server_dnc_test_1" ]
      [ "${lines[1]}" = "/api/servers/1037019004" ]
}

@test "list deployments 3" {
      run bundle exec cnd list deployments --name="dnc_test_dep_1"
      [ "$status" -eq 0 ]
      [ "${lines[0]}" = "dnc_test_dep_1" ]
      [ "${lines[1]}" = "/api/deployments/483829004" ]
}
{'fraction_non_alphanumeric': 0.2040025823111685, 'fraction_numerical': 0.04389928986442866, 'mean_word_length': 2.808353808353808, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6850753', 'n_tokens_mistral': 620, 'n_tokens_neox': 582, 'n_words': 130}