~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/__init__.py

  • Committer: Martin Pool
  • Date: 2007-05-04 10:41:31 UTC
  • mto: (2483.1.1 jam-integration)
  • mto: This revision was merged to the branch mainline in revision 2484.
  • Revision ID: mbp@sourcefrog.net-20070504104131-9zq53xhbxtri3jl3
test_transport must provide get_test_permutations

Show diffs side-by-side

added added

removed removed

Lines of Context:
1185
1185
    def get_transport_test_permutations(self, module):
1186
1186
        """Get the permutations module wants to have tested."""
1187
1187
        if getattr(module, 'get_test_permutations', None) is None:
1188
 
            warning("transport module %s doesn't provide get_test_permutations()"
 
1188
            raise AssertionError("transport module %s doesn't provide get_test_permutations()"
1189
1189
                    % module.__name__)
 
1190
            ##warning("transport module %s doesn't provide get_test_permutations()"
 
1191
            ##       % module.__name__)
1190
1192
            return []
1191
1193
        return module.get_test_permutations()
1192
1194