Updated simple plugin test
This commit is contained in:
parent
4638071a00
commit
eb5c9c3fee
3 changed files with 63 additions and 7 deletions
1
openflexure_microscope/plugins/testing/__init__.py
Normal file
1
openflexure_microscope/plugins/testing/__init__.py
Normal file
|
|
@ -0,0 +1 @@
|
|||
from .plugin import Plugin
|
||||
13
openflexure_microscope/plugins/testing/plugin.py
Normal file
13
openflexure_microscope/plugins/testing/plugin.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
from openflexure_microscope.plugins import MicroscopePlugin
|
||||
|
||||
|
||||
class Plugin(MicroscopePlugin):
|
||||
"""
|
||||
A set of default plugins
|
||||
"""
|
||||
|
||||
def identify(self):
|
||||
"""
|
||||
Tests for access to Microscope.camera, and Microscope.stage
|
||||
"""
|
||||
return (self.microscope.camera, self.microscope.stage)
|
||||
Loading…
Add table
Add a link
Reference in a new issue