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