aboutsummaryrefslogtreecommitdiffstats
path: root/tests/plugin_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugin_tests.py')
-rw-r--r--tests/plugin_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/plugin_tests.py b/tests/plugin_tests.py
index 0e7869bb..153ff350 100644
--- a/tests/plugin_tests.py
+++ b/tests/plugin_tests.py
@@ -304,13 +304,13 @@ class RegexSubTests(unittest.TestCase):
def test_no_replacements(self):
self.mp.add_copy_spec(j("tail_test.txt"))
- self.mp.copy_stuff()
+ self.mp.collect()
replacements = self.mp.doFileSub(j("tail_test.txt"), r"wont_match", "foobar")
self.assertEquals(0, replacements)
def test_replacements(self):
self.mp.add_copy_spec(j("tail_test.txt"))
- self.mp.copy_stuff()
+ self.mp.collect()
replacements = self.mp.doFileSub(j("tail_test.txt"), r"(tail)", "foobar")
self.assertEquals(1, replacements)
self.assertTrue("foobar" in self.mp.archive.m.get(j('tail_test.txt')))