Hello <#C03G7LJTS2G|> Just a question for Pyflin...
# troubleshooting
s
Hello #C03G7LJTS2G Just a question for Pyflink do we have to use Mock and MagicMock/ Pytest like we do in the Python projects way for testing or is there any other way of testing it ? Just need your guidance here since I didn't find any information on the documentation https://nightlies.apache.org/flink/flink-docs-release-1.16/docs/dev/datastream/testing/
I came across the source code link which is the below one https://github.com/apache/flink/tree/f8172cdbbc27344896d961be4b0b9cdbf000b5cd/flink-python/pyflink. Now, I just have one doubt, if I have to test the connectors in PyFlink, do I need to follow the same approach/methods because I didn't see any connector specific way. I might be wrong but waiting for the correct guidance. TIA #C03G7LJTS2G
d
You need to make sure the connectors JARs are available in your environment. In PyFlink tests, it prepares the connector JARs as following: https://github.com/apache/flink/blob/master/flink-python/pom.xml#L273
s
Thanks @Dian Fu I will explore this.