File: testplugin.py

package info (click to toggle)
terminator 2.1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,916 kB
  • sloc: python: 11,390; sh: 26; makefile: 15
file content (11 lines) | stat: -rw-r--r-- 258 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
import terminatorlib.plugin as plugin

# AVAILABLE must contain a list of all the classes that you want exposed
AVAILABLE = ['TestPlugin']

class TestPlugin(plugin.Plugin):
    capabilities = ['test']

    def do_test(self):
        return('TestPluginWin')