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

Test really invalid files

The autoloader recognizes iOS strings now, so let's test against
something what really can not be loaded.
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 346ab5e0
......@@ -674,10 +674,10 @@ class SubProjectTest(RepoTestCase):
project.full_clean
)
# Unknown file format
project.filemask = 'iphone/*.lproj/Localizable.strings'
project.filemask = 'invalid/*.invalid'
self.assertRaisesMessage(
ValidationError,
'Format of 1 matched files could not be recognized.',
'Format of 2 matched files could not be recognized.',
project.full_clean
)
......
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