Fixed comm-related unittest failures

This commit is contained in:
Griatch 2014-03-03 12:45:28 +01:00
parent 1a65d12b2c
commit 96f26098d1
3 changed files with 3 additions and 6 deletions

View file

@ -221,7 +221,7 @@ class ObjectManager(TypedObjectManager):
return [obj for ind, obj in enumerate(key_candidates) if ind in index_matches]
else:
alias_candidates = self.filter(id__in=candidates_id, db_tags__db_category__iexact="objectalias")
print alias_candidates
#print alias_candidates
alias_strings = alias_candidates.values_list("db_key", flat=True)
index_matches = string_partial_matching(alias_strings, ostring, ret_index=True)
if index_matches: