1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-21 15:52:28 +00:00

version 1.0.6

This commit is contained in:
J. Fernando Sánchez 2022-05-24 19:33:39 +02:00
parent 07348de59a
commit 7f712952be
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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(