289
289
def test_plugin_with_bad_api_version_reports(self):
290
290
"""Try loading a plugin that requests an unsupported api.
297
296
with open(name, 'w') as f:
298
297
f.write("import breezy\n"
299
298
"from breezy.errors import IncompatibleVersion\n"
300
299
"raise IncompatibleVersion(breezy, [(1, 0, 0)], (0, 0, 5))\n")
306
304
self.plugin_warnings['wants100'][0],
307
305
r"It supports breezy version")