~zyga/+junk/lava-test-demo

« back to all changes in this revision

Viewing changes to lava_test_demo/tests.py

  • Committer: Zygmunt Krynicki
  • Date: 2012-01-20 15:05:52 UTC
  • Revision ID: zygmunt.krynicki@linaro.org-20120120150552-r056nt8m4kjetfkk
Add a demo test definition

This test does absolutely nothing but can be seen by lava-test list-tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Add your tests here
 
2
 
 
3
from lava_test.api.core import ITest
 
4
 
 
5
 
 
6
class DemoTest(ITest):
 
7
 
 
8
    @property
 
9
    def test_id(self):
 
10
        return "lava.demo"
 
11
 
 
12
    @property
 
13
    def is_installed(self):
 
14
        return True
 
15
 
 
16
    def install(self, observer):
 
17
        pass
 
18
 
 
19
    def uninstall(self, observer):
 
20
        pass
 
21
 
 
22
    def run(self, observer, test_options):
 
23
        pass
 
24
 
 
25
    def parse(self, artifacts):
 
26
        pass
 
27
 
 
28
 
 
29
testobj = DemoTest()