~ubuntu-branches/ubuntu/natty/landscape-client/natty

« back to all changes in this revision

Viewing changes to landscape/manager/tests/test_processkiller.py

  • Committer: Bazaar Package Importer
  • Author(s): Free Ekanayaka
  • Date: 2010-04-21 19:58:10 UTC
  • mfrom: (1.1.16 upstream)
  • Revision ID: james.westby@ubuntu.com-20100421195810-s30uv3s6i27lue38
Tags: 1.5.2-0ubuntu0.10.10.0
* New upstream version (LP: #594594):
  - A new includes information about active network devices and their
    IP address in sysinfo output (LP: #272344).
  - A new plugin collects information about network traffic (#LP :284662).
  - Report information about which packages requested a reboot (LP: #538253).
  - Fix breakage on Lucid AMIs having no ramdisk (LP: #574810).
  - Migrate the inter-process communication system from DBus to Twisted AMP.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
                                     ProcessDataBuilder)
7
7
from landscape.lib.process import ProcessInformation
8
8
 
9
 
from landscape.manager.manager import SUCCEEDED, FAILED
 
9
from landscape.manager.plugin import SUCCEEDED, FAILED
10
10
from landscape.manager.processkiller import (
11
11
    ProcessKiller, ProcessNotFoundError, ProcessMismatchError,
12
12
    SignalProcessError)
138
138
                              "result-text": expected_text}])
139
139
        self.assertTrue("ProcessNotFoundError" in self.logfile.getvalue())
140
140
 
141
 
 
142
141
    def test_signal_process_start_time_mismatch(self):
143
142
        """
144
143
        When a 'signal-process' message is received with a mismatched