diff options
author | Lars Wirzenius <liw@liw.fi> | 2013-06-09 17:57:38 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2013-06-09 17:57:38 +0100 |
commit | b6f560321a30a8aff7adf4efecefb78180847686 (patch) | |
tree | b46e77eecb1f6190b197d4283150d8390ff48abe /cliapp/pluginmgr_tests.py | |
parent | 77de905c50bb3bcbbd4c41a841745e5e1b9c1d0f (diff) | |
download | cliapp-b6f560321a30a8aff7adf4efecefb78180847686.tar.gz |
Remove trailing whitespace from ends of lines
Diffstat (limited to 'cliapp/pluginmgr_tests.py')
-rw-r--r-- | cliapp/pluginmgr_tests.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/cliapp/pluginmgr_tests.py b/cliapp/pluginmgr_tests.py index 5537f8c..d458ac3 100644 --- a/cliapp/pluginmgr_tests.py +++ b/cliapp/pluginmgr_tests.py @@ -1,15 +1,15 @@ # Copyright (C) 2009-2012 Lars Wirzenius -# +# # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. -# +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# +# # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. @@ -24,7 +24,7 @@ class PluginManagerInitialStateTests(unittest.TestCase): def setUp(self): self.pm = PluginManager() - + def test_locations_is_empty_list(self): self.assertEqual(self.pm.locations, []) @@ -39,7 +39,7 @@ class PluginManagerInitialStateTests(unittest.TestCase): def test_plugin_arguments_is_empty(self): self.assertEqual(self.pm.plugin_arguments, []) - + def test_plugin_keyword_arguments_is_empty(self): self.assertEqual(self.pm.plugin_keyword_arguments, {}) @@ -51,7 +51,7 @@ class PluginManagerTests(unittest.TestCase): self.pm.locations = ['test-plugins', 'not-exist'] self.pm.plugin_arguments = ('fooarg',) self.pm.plugin_keyword_arguments = { 'bar': 'bararg' } - + self.files = sorted(['test-plugins/hello_plugin.py', 'test-plugins/aaa_hello_plugin.py', 'test-plugins/oldhello_plugin.py', @@ -100,19 +100,19 @@ class PluginManagerCompatibleApplicationVersionTests(unittest.TestCase): def setUp(self): self.pm = PluginManager() self.pm.application_version = '1.2.3' - + def test_rejects_zero(self): self.assertFalse(self.pm.compatible_version('0')) - + def test_rejects_two(self): self.assertFalse(self.pm.compatible_version('2')) - + def test_rejects_one_two_four(self): self.assertFalse(self.pm.compatible_version('1.2.4')) - + def test_accepts_one(self): self.assert_(self.pm.compatible_version('1')) - + def test_accepts_one_two_three(self): self.assert_(self.pm.compatible_version('1.2.3')) |