From 49eba9185d4e912bccfb5bd711f8aee5a21eebf8 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 13 Dec 2016 22:33:18 +0100 Subject: [plugins] move the glob tests together Signed-off-by: Michael Adam --- tests/plugin_tests.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/plugin_tests.py b/tests/plugin_tests.py index b57e031e..3a7ce9c3 100644 --- a/tests/plugin_tests.py +++ b/tests/plugin_tests.py @@ -237,10 +237,6 @@ class AddCopySpecTests(unittest.TestCase): expected_paths = set(map(pathmunge, self.expect_paths)) self.assertEquals(self.mp.copy_paths, expected_paths) - def test_glob_file(self): - self.mp.add_copy_spec('tests/tail_test.*') - self.assert_expect_paths() - def test_single_file_no_limit(self): self.mp.add_copy_spec("tests/tail_test.txt") @@ -266,6 +262,10 @@ class AddCopySpecTests(unittest.TestCase): self.assertFalse(self.mp.add_copy_spec('', 1)) self.assertFalse(self.mp.add_copy_spec(None, 1)) + def test_glob_file(self): + self.mp.add_copy_spec('tests/tail_test.*') + self.assert_expect_paths() + def test_glob_file_limit_no_limit(self): self.mp.sysroot = '/' tmpdir = tempfile.mkdtemp() -- cgit