def test_prepare_readme(self): """Test we can generate the readme ok.""" temp_path = temp_dir() iface = QgisInterface(None) builder = PluginBuilder(iface) builder.plugin_path = temp_path builder._prepare_readme(self.specification, 'fake_module')