New tests and minor fixes

This commit is contained in:
Raphael Michel
2016-09-20 16:13:13 +02:00
parent 1b6be05a5f
commit d1f79faef2
6 changed files with 292 additions and 28 deletions

View File

@@ -85,7 +85,7 @@ class LazyI18nString:
else:
return str(self.data)
def __repr__(self) -> str:
def __repr__(self) -> str: # NOQA
return '<LazyI18nString: %s>' % repr(self.data)
def __lt__(self, other) -> bool: # NOQA