mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-22 00:02:28 +00:00
version 1.0.6
This commit is contained in:
parent
07348de59a
commit
7f712952be
@ -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/),
|
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).
|
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]
|
## [1.0.1]
|
||||||
### Added
|
### Added
|
||||||
* License headers
|
* License headers
|
||||||
|
@ -200,6 +200,8 @@ class Plugin(with_metaclass(PluginMeta, models.Plugin)):
|
|||||||
)
|
)
|
||||||
|
|
||||||
def test(self, test_cases=None):
|
def test(self, test_cases=None):
|
||||||
|
if not self.is_activated:
|
||||||
|
self._activate()
|
||||||
if not test_cases:
|
if not test_cases:
|
||||||
if not hasattr(self, 'test_cases'):
|
if not hasattr(self, 'test_cases'):
|
||||||
raise AttributeError(
|
raise AttributeError(
|
||||||
|
Loading…
Reference in New Issue
Block a user