Commit 650a66e4 authored by Michal Čihař's avatar Michal Čihař

Compatibility for tests

parent f62b33b4
......@@ -72,6 +72,9 @@ class MockUnit(object):
self.flags = flags
self.translation = MockTranslation(code)
def get_all_flags(self):
return self.flags.split(',')
class CheckTestCase(TestCase):
'''
......
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