Changed unittest suite to use dummy sessions.

This commit is contained in:
Griatch 2013-09-22 16:29:02 +02:00
parent 4659ddbfc3
commit bbba695380
6 changed files with 66 additions and 37 deletions

View file

@ -552,7 +552,7 @@ class TagHandler(object):
def all(self):
"Get all tags in this handler"
return [p[0] for p in _GA(self.obj, self._m2m_fieldname).all().values_list("db_key")]
return [to_str(p[0]) for p in _GA(self.obj, self._m2m_fieldname).all().values_list("db_key")]
def __str__(self):
return ",".join(self.all())