aboutsummaryrefslogtreecommitdiffstats
path: root/tests/plugin_tests.py
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2014-09-30 18:34:21 +0100
committerBryn M. Reeves <bmr@redhat.com>2014-09-30 18:37:31 +0100
commitc2b5e76f22531da9a53d25ced6debdf79d9ef9c2 (patch)
tree45a28b1e6082d13ad43c6de68fa87acf5d7a2af5 /tests/plugin_tests.py
parente945c1c7f7cb726b6b6f9e897b41c5dac609c34e (diff)
downloadsos-c2b5e76f22531da9a53d25ced6debdf79d9ef9c2.tar.gz
[Plugin] remove add_copy_specs()
Merge add_copy_specs() into add_copy_spec() and treat any strings passed to the new method as though they were a single item list. Mirrors the prior change to add_cmd_outputs(). Fixes #301. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'tests/plugin_tests.py')
-rw-r--r--tests/plugin_tests.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/plugin_tests.py b/tests/plugin_tests.py
index b7b13b22..817e4f23 100644
--- a/tests/plugin_tests.py
+++ b/tests/plugin_tests.py
@@ -235,15 +235,6 @@ class AddCopySpecTests(unittest.TestCase):
self.mp.add_copy_spec_limit("tests/tail_test.txt", 1)
self.assert_expect_paths()
- # add_copy_specs()
-
- def test_add_copy_specs(self):
- self.mp.add_copy_specs(["tests/tail_test.txt"])
- self.assert_expect_paths()
-
- def test_add_copy_spec_nostrings(self):
- self.assertRaises(TypeError, self.mp.add_copy_specs,"stringsarebadmkay?")
-
# add_copy_spec_limit()
def test_single_file_over_limit(self):