~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/__init__.py

  • Committer: John Arbash Meinel
  • Date: 2007-05-08 20:00:50 UTC
  • mfrom: (2477.1.13 0.16-release)
  • mto: This revision was merged to the branch mainline in revision 2484.
  • Revision ID: john@arbash-meinel.com-20070508200050-4imwmtzep8fx5v7w
Merge the 0.16 release fixes back into bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1201
1201
    def get_transport_test_permutations(self, module):
1202
1202
        """Get the permutations module wants to have tested."""
1203
1203
        if getattr(module, 'get_test_permutations', None) is None:
1204
 
            warning("transport module %s doesn't provide get_test_permutations()"
 
1204
            raise AssertionError("transport module %s doesn't provide get_test_permutations()"
1205
1205
                    % module.__name__)
 
1206
            ##warning("transport module %s doesn't provide get_test_permutations()"
 
1207
            ##       % module.__name__)
1206
1208
            return []
1207
1209
        return module.get_test_permutations()
1208
1210