~ubuntu-branches/ubuntu/trusty/landscape-client/trusty-proposed

« back to all changes in this revision

Viewing changes to landscape/package/tests/test_taskhandler.py

  • Committer: Bazaar Package Importer
  • Author(s): Free Ekanayaka
  • Date: 2010-04-07 16:27:45 UTC
  • mfrom: (1.1.14 upstream) (24.1.1 karmic-proposed)
  • Revision ID: james.westby@ubuntu.com-20100407162745-oeyoppvl0qyvii55
Tags: 1.5.0-0ubuntu0.10.04.0
* New upstream version (LP: #557244)
  - Fix package-changer running before smart-update has completed (LP: #542215)
  - Report the version of Eucalyptus used to generate topology data (LP: #554007)
  - Enable the Eucalyptus plugin by default, if supported (LP: #546531)
  - Use a whitelist of allowed filesystem types to instead of a blacklist (LP: #351927)
  - Report the update-manager logs to the server (LP: #503384)
  - Turn off Curl's DNS caching for requests. (LP: #522688)

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
SAMPLE_LSB_RELEASE = "DISTRIB_CODENAME=codename\n"
25
25
 
26
26
 
 
27
class PackageTaskHandlerConfigurationTest(LandscapeTest):
 
28
 
 
29
    def test_force_smart_update_option(self):
 
30
        """
 
31
        L{PackageReporterConfiguration.smart_update_stamp_filename} points
 
32
        to the smart-update stamp file.
 
33
        """
 
34
        config = PackageTaskHandlerConfiguration()
 
35
        self.assertEquals(
 
36
            config.smart_update_stamp_filename,
 
37
            "/var/lib/landscape/client/package/smart-update-stamp")
 
38
 
 
39
 
27
40
class PackageTaskHandlerTest(LandscapeIsolatedTest):
28
41
 
29
42
    helpers = [SmartFacadeHelper, RemoteBrokerHelper]