Commit 98ce0efb authored by Michal Čihař's avatar Michal Čihař

Adjust to new API

parent 7e823844
......@@ -72,7 +72,8 @@ class MockUnit(object):
self.flags = flags
self.translation = MockTranslation(code)
def get_all_flags(self):
@property
def all_flags(self):
return self.flags.split(',')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment