diff options
author | Christian Ehrhardt <christian.ehrhardt@canonical.com> | 2016-06-06 08:57:48 +0200 |
---|---|---|
committer | Christian Ehrhardt <christian.ehrhardt@canonical.com> | 2016-06-06 08:57:48 +0200 |
commit | 1b32f10f431aa9138346f20e421442bf935399b5 (patch) | |
tree | 8f1ecad2f82018d09562b37ca0f36fd437302209 /tests | |
parent | 3f38059d1397ed8e16000d2246f1b1f01929bf5e (diff) | |
download | vyos-cloud-init-1b32f10f431aa9138346f20e421442bf935399b5.tar.gz vyos-cloud-init-1b32f10f431aa9138346f20e421442bf935399b5.zip |
make _get_default_params method static
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unittests/test_handler/test_handler_apt_source.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unittests/test_handler/test_handler_apt_source.py b/tests/unittests/test_handler/test_handler_apt_source.py index fc767ece..4d8ae46a 100644 --- a/tests/unittests/test_handler/test_handler_apt_source.py +++ b/tests/unittests/test_handler/test_handler_apt_source.py @@ -62,7 +62,8 @@ class TestAptSourceConfig(TestCase): get_rel.return_value = self.release self.addCleanup(patcher.stop) - def _get_default_params(self): + @staticmethod + def _get_default_params(): """get_default_params Get the most basic default mrror and release info to be used in tests """ |