From c2b5e76f22531da9a53d25ced6debdf79d9ef9c2 Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Tue, 30 Sep 2014 18:34:21 +0100 Subject: [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 --- tests/plugin_tests.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'tests/plugin_tests.py') 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): -- cgit