mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-14 12:42:27 +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/),
|
||||
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
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user