Commit bd8f0df3 authored by FichteFoll's avatar FichteFoll

Check indentation of repository.json

parent 02ca2a7e
...@@ -666,7 +666,7 @@ class DefaultChannelTests(TestContainer, unittest.TestCase): ...@@ -666,7 +666,7 @@ class DefaultChannelTests(TestContainer, unittest.TestCase):
self.assertIsInstance(repo, str_cls) self.assertIsInstance(repo, str_cls)
def test_indentation(self): def test_indentation(self):
return self._test_indentation(None, self.source) return self._test_indentation('channel.json', self.source)
def test_channel_repositories(self): def test_channel_repositories(self):
repos = self.j['repositories'] repos = self.j['repositories']
...@@ -728,6 +728,9 @@ class DefaultRepositoryTests(TestContainer, unittest.TestCase): ...@@ -728,6 +728,9 @@ class DefaultRepositoryTests(TestContainer, unittest.TestCase):
for include in self.j['includes']: for include in self.j['includes']:
self.assertIsInstance(include, str_cls) self.assertIsInstance(include, str_cls)
def test_indentation(self):
return self._test_indentation('repository.json', self.source)
@classmethod @classmethod
def generate_include_tests(cls, stream): def generate_include_tests(cls, stream):
for include in cls.j['includes']: for include in cls.j['includes']:
......
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