Skip to content

Commit

Permalink
no need to save the result of .meta()
Browse files Browse the repository at this point in the history
  • Loading branch information
honzakral committed Jan 23, 2015
1 parent 94e4241 commit 6d85c2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_elasticsearch_dsl/test_document.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class MyD(document.DocType):

class Meta:
mapping = Mapping('my_d')
mapping = mapping.meta('_all', enabled=False)
mapping.meta('_all', enabled=False)

assert {
'my_d': {
Expand Down

0 comments on commit 6d85c2c

Please sign in to comment.