diff --git a/neon_minerva/tests/test_skill_resources.py b/neon_minerva/tests/test_skill_resources.py index 6a95321..de6cc74 100644 --- a/neon_minerva/tests/test_skill_resources.py +++ b/neon_minerva/tests/test_skill_resources.py @@ -137,6 +137,9 @@ def test_intent_registration(self): def test_dialog_files(self): for lang in self.supported_languages: + if not self.dialog: + self.assertIsNone(self.skill._lang_resources[lang].dialog_renderer) + return dialogs = self.skill._lang_resources[lang].dialog_renderer.templates for dialog in self.dialog: self.assertIn(dialog, dialogs.keys(),