diff --git a/CHANGELOG.md b/CHANGELOG.md index 536392d..72f2e63 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.0.6] +### Fixed +* Plugins now get activated for testing ## [1.0.1] ### Added * License headers diff --git a/senpy/plugins/__init__.py b/senpy/plugins/__init__.py index 962488f..3b10919 100644 --- a/senpy/plugins/__init__.py +++ b/senpy/plugins/__init__.py @@ -200,6 +200,8 @@ class Plugin(with_metaclass(PluginMeta, models.Plugin)): ) def test(self, test_cases=None): + if not self.is_activated: + self._activate() if not test_cases: if not hasattr(self, 'test_cases'): raise AttributeError(