diff --git a/neon_minerva/tests/test_skill_resources.py b/neon_minerva/tests/test_skill_resources.py index 0dedf76..60e9e48 100644 --- a/neon_minerva/tests/test_skill_resources.py +++ b/neon_minerva/tests/test_skill_resources.py @@ -81,10 +81,17 @@ def _on_message(cls, message): def test_skill_setup(self): self.assertEqual(self.skill.skill_id, self.test_skill_id) - self.assertEqual(set([self.skill._core_lang] + - self.skill._secondary_langs), - set(self.supported_languages), - f"expected={self.supported_languages}") + if hasattr(self.skill, "_core_lang"): + # ovos-workshop < 0.0.15 + self.assertEqual(set([self.skill._core_lang] + + self.skill._secondary_langs), + set(self.supported_languages), + f"expected={self.supported_languages}") + else: + self.assertEqual(set([self.skill.core_lang] + + self.skill.secondary_langs), + set(self.supported_languages), + f"expected={self.supported_languages}") def test_intent_registration(self): registered_adapt = list() diff --git a/neon_minerva/version.py b/neon_minerva/version.py index 4488dcb..fa01ac9 100644 --- a/neon_minerva/version.py +++ b/neon_minerva/version.py @@ -26,4 +26,4 @@ # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -__version__ = "0.1.0" +__version__ = "0.1.1a1"