~free.ekanayaka/landscape-client/lucid-1.5.4-0ubuntu0.10.04.0

« back to all changes in this revision

Viewing changes to landscape/sysinfo/tests/test_deployment.py

  • Committer: Bazaar Package Importer
  • Author(s): Free Ekanayaka
  • Date: 2010-06-28 18:07:18 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20100628180718-vytyqgbtkiirv5sb
Tags: 1.5.2.1-0ubuntu0.10.04.0
Filter duplicate network interfaces in get_active_interfaces (LP: #597000)

Show diffs side-by-side

added added

removed removed

Lines of Context:
229
229
        # This hecka whiteboxes but there aren't any underscores!
230
230
        logger = getLogger("landscape-sysinfo")
231
231
        self.assertEquals(logger.handlers, [])
232
 
        setup_logging()
 
232
        setup_logging(landscape_dir=self.makeDir())
233
233
        logger = getLogger("landscape-sysinfo")
234
234
        self.assertEquals(len(logger.handlers), 1)
235
235
        handler = logger.handlers[0]