193
193
from bzrlib.bzrdir import BzrDirTestProviderAdapter
194
194
input_test = TestBzrDirProviderAdapter(
200
202
suite = adapter.adapt(input_test)
201
203
tests = list(iter(suite))
202
204
self.assertEqual(2, len(tests))
203
205
self.assertEqual(tests[0].bzrdir_format, formats[0])
204
207
self.assertEqual(tests[0].transport_server, server1)
205
208
self.assertEqual(tests[0].transport_readonly_server, server2)
206
209
self.assertEqual(tests[1].bzrdir_format, formats[1])
207
211
self.assertEqual(tests[1].transport_server, server1)
208
212
self.assertEqual(tests[1].transport_readonly_server, server2)