aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2014-03-27 20:52:49 +0000
committerBryn M. Reeves <bmr@redhat.com>2014-03-27 20:52:49 +0000
commitcfefd80c828c309745cc40d8498223b4fbc7b5ca (patch)
tree0bc1b1900b9aaa590395e49d20728bf2601bc014 /tests
parent81b06ca7406aee6ecb47f7afe33fc56caafee570 (diff)
downloadsos-cfefd80c828c309745cc40d8498223b4fbc7b5ca.tar.gz
Update Plugin tests to treat copy_paths as a set
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/plugin_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugin_tests.py b/tests/plugin_tests.py
index cf874f17..5074cbf9 100644
--- a/tests/plugin_tests.py
+++ b/tests/plugin_tests.py
@@ -221,7 +221,7 @@ class AddCopySpecLimitTests(unittest.TestCase):
def test_single_file_under_limit(self):
self.mp.add_copy_spec_limit("tests/tail_test.txt", 1)
- self.assertEquals(self.mp.copy_specs, ['tests/tail_test.txt'])
+ self.assertEquals(self.mp.copy_paths, set(['tests/tail_test.txt']))
def test_single_file_over_limit(self):
fn = create_file(2) # create 2MB file, consider a context manager