diff options
author | Michael Adam <obnox@samba.org> | 2016-12-13 22:33:18 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2017-03-28 14:13:50 +0100 |
commit | 49eba9185d4e912bccfb5bd711f8aee5a21eebf8 (patch) | |
tree | 28045af7759735732a77761f4afcc779f10f0bcb | |
parent | 4461bf7285310ab78a2695998d4d771d61f3e10e (diff) | |
download | sos-49eba9185d4e912bccfb5bd711f8aee5a21eebf8.tar.gz |
[plugins] move the glob tests together
Signed-off-by: Michael Adam <obnox@samba.org>
-rw-r--r-- | tests/plugin_tests.py | 8 |
1 files changed, 4 insertions, 4 deletions
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() |