~launchpad-results/launchpad-results/trunk

« back to all changes in this revision

Viewing changes to lib/lpresults/tracker/interfaces/testsystemunit.py

  • Committer: Marc Tardif
  • Date: 2011-09-14 01:25:40 UTC
  • Revision ID: marc.tardif@canonical.com-20110914012540-1gs255vhv6kb0mg4
Added updating of submissions periodically.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
    call_with,
15
15
    export_as_webservice_entry,
16
16
    export_write_operation,
 
17
    exported,
17
18
    operation_parameters,
18
19
    REQUEST_USER,
19
20
    )
 
21
from lazr.restful.fields import Reference
20
22
from lazr.restful.interface import copy_field
21
23
 
22
24
from lpresults.hardware.interfaces.system import ISystem
45
47
class IHasTestSystemUnit(IHasSystemUnit):
46
48
    """An entity which has a test system unit."""
47
49
 
 
50
    system_unit = exported(
 
51
        Reference(
 
52
            schema=ITestSystemUnit,
 
53
            title=u"System Unit",
 
54
            required=False,
 
55
            readonly=True))
 
56
 
48
57
 
49
58
class ITestSystemUnitTarget(IHasTestSystemUnit):
50
59