~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/archivepublisher/tests/test_publish_ftpmaster.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-08-15 23:44:28 UTC
  • mfrom: (13694.1.1 testfix-ftpmaster)
  • Revision ID: launchpad@pqm.canonical.com-20110815234428-w7j9ikfs2g3pyttf
[testfix][r=stevenk][no-qa] Correct method call for
 testtools.MatchesStructure.

Show diffs side-by-side

added added

removed removed

Lines of Context:
300
300
        reference_config = getPubConfig(distro.main_archive)
301
301
        config = script.getConfigs()[distro][ArchivePurpose.PRIMARY]
302
302
        self.assertThat(
303
 
            config, MatchesStructure.from_example(
 
303
            config, MatchesStructure.fromExample(
304
304
                reference_config, 'temproot', 'distroroot', 'archiveroot'))
305
305
 
306
306
    def test_getConfigs_maps_distros(self):