Skip to content

Commit

Permalink
remove superfluous test
Browse files Browse the repository at this point in the history
  • Loading branch information
ebeahan committed Dec 4, 2020
1 parent bf1cfb5 commit 6036519
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions scripts/tests/test_es_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,33 +222,6 @@ def test_es6_fallback_base_case_constant_keyword(self):
es_template.es6_type_fallback(test_map)
self.assertEqual(test_map, exp)

def test_es6_fallback_recursive_case_constant_keyword(self):
test_map = {
"top_field": {
"properties": {
"field": {
"name": "field",
"type": "constant_keyword"
}
}
}
}

exp = {
"top_field": {
"properties": {
"field": {
"name": "field",
"type": "keyword",
"ignore_above": 1024
}
}
}
}

es_template.es6_type_fallback(test_map)
self.assertEqual(test_map, exp)


if __name__ == '__main__':
unittest.main()

0 comments on commit 6036519

Please sign in to comment.