Commit ac75846f authored by Michal Čihař's avatar Michal Čihař

Test for loadpo

parent 0c82e068
......@@ -60,3 +60,26 @@ class ImportTest(RepoTestCase):
'master',
'*/*.po',
)
class LoadTest(RepoTestCase):
def test_all(self):
resource = self.create_subproject()
call_command(
'loadpo',
all=True,
)
def test_project(self):
resource = self.create_subproject()
call_command(
'loadpo',
'test',
)
def test_subproject(self):
resource = self.create_subproject()
call_command(
'loadpo',
'test/test',
)
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