databricks / spark-deep-learning

Deep Learning Pipelines for Apache Spark
https://databricks.github.io/spark-deep-learning
Apache License 2.0
1.99k stars 494 forks source link

Use getResourceAsStream instead of getResource in tests #101

Closed smurching closed 6 years ago

smurching commented 6 years ago

Replace calls to getResource (which look for resource files only on the local disk) with calls to getResourceAsStream, which uses the classloader to search for resource files anywhere in the classpath.

codecov-io commented 6 years ago

Codecov Report

Merging #101 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #101   +/-   ##
=======================================
  Coverage   82.83%   82.83%           
=======================================
  Files          34       34           
  Lines        1975     1975           
  Branches       45       45           
=======================================
  Hits         1636     1636           
  Misses        339      339

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e47b398...db3ac76. Read the comment docs.