From c25ccc43373ecc45fca225231b10fe922a5ebe42 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sat, 27 Apr 2013 10:19:43 +0200 Subject: [PATCH] PluginDownloader: Obey --no-network in tests. --- plugins/PluginDownloader/test.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/PluginDownloader/test.py b/plugins/PluginDownloader/test.py index 5c23f7908..526cea7cd 100644 --- a/plugins/PluginDownloader/test.py +++ b/plugins/PluginDownloader/test.py @@ -92,5 +92,8 @@ class PluginDownloaderTestCase(PluginTestCase): self.assertNotError('plugindownloader install SpiderDave Pastebin') self._testPluginInstalled('Pastebin') +if not network: + class PluginDownloaderTestCase(PluginTestCase): + pass # vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: