You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/05/07 00:49:48 UTC

[GitHub] [beam] ihji commented on a diff in pull request #17482: [BEAM-14374] Fix module import error in FullyQualifiedNamedTransform

ihji commented on code in PR #17482:
URL: https://github.com/apache/beam/pull/17482#discussion_r867279084


##########
sdks/python/apache_beam/transforms/fully_qualified_named_transform_test.py:
##########
@@ -116,6 +119,14 @@ def test_glob_filter(self):
       with self.assertRaises(ValueError):
         FullyQualifiedNamedTransform._resolve('apache_beam.Row')
 
+  @patch('importlib.import_module')
+  def test_resolve(self, mock_import_module):

Review Comment:
   Other tests already cover some real importing but I added two more that would have failed without the change in this PR.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org