Skip to content

Commit

Permalink
Fix goof in tests
Browse files Browse the repository at this point in the history
We had two tests with the same name. This fixes that.
  • Loading branch information
willkg committed Mar 19, 2013
1 parent 33384a3 commit 704642a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions elasticutils/tests/test_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ def test_facet_date_histogram(self):
for item in qs.facet_counts()['created1']]
eq_(sorted(facet_counts), [2, 3])

def test_facet_date_histogram(self):
def test_facet_normal_histogram(self):
"""facet_raw with normal histogram works."""

FacetTest.create_index()
Expand Down Expand Up @@ -393,7 +393,6 @@ def test_facet_date_histogram(self):
]
})


def test_invalid_field_type(self):
"""Invalid _type should raise InvalidFacetType."""
FacetTest.create_index()
Expand Down

0 comments on commit 704642a

Please sign in to comment.