You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by jb...@apache.org on 2017/12/19 15:09:27 UTC
[beam] branch master updated: Fix global match test in
localfilesystem
This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new cd186a5 Fix global match test in localfilesystem
cd186a5 is described below
commit cd186a531aaff0b21cf009b034e1a41f7e7b64af
Author: Jean-Baptiste Onofré <jb...@apache.org>
AuthorDate: Thu Dec 14 15:23:26 2017 +0100
Fix global match test in localfilesystem
---
sdks/python/apache_beam/io/localfilesystem_test.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdks/python/apache_beam/io/localfilesystem_test.py b/sdks/python/apache_beam/io/localfilesystem_test.py
index 31741c9..3f4530f 100644
--- a/sdks/python/apache_beam/io/localfilesystem_test.py
+++ b/sdks/python/apache_beam/io/localfilesystem_test.py
@@ -156,7 +156,7 @@ class LocalFileSystemTest(unittest.TestCase):
path = os.path.join(self.tmpdir, '*')
result = self.fs.match([path])[0]
files = [f.path for f in result.metadata_list]
- self.assertEqual(files, [path1, path2])
+ self.assertItemsEqual(files, [path1, path2])
def test_match_directory(self):
result = self.fs.match([self.tmpdir])[0]
--
To stop receiving notification emails like this one, please contact
['"commits@beam.apache.org" <co...@beam.apache.org>'].