xpdAcq / xpdSim

simulator objects for bluesky, ophyd
http://xpdacq.github.io/xpdSim/
Other
0 stars 5 forks source link

FIX: package_data path #35

Closed chiahaoliu closed 7 years ago

chiahaoliu commented 7 years ago

@CJ-Wright ready for review

codecov-io commented 7 years ago

Codecov Report

Merging #35 into master will increase coverage by 0.07%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #35      +/-   ##
==========================================
+ Coverage   98.07%   98.14%   +0.07%     
==========================================
  Files           8        8              
  Lines         156      162       +6     
==========================================
+ Hits          153      159       +6     
  Misses          3        3
Impacted Files Coverage Δ
xpdsim/tests/conftest.py 100% <100%> (ø) :arrow_up:
xpdsim/tests/test_dets.py 100% <100%> (ø) :arrow_up:

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 9d1922a...fac0414. Read the comment docs.

CJ-Wright commented 7 years ago

you might add a command line based test to the travis, something like:

python -c 'from xpdsim.something import files; assert files['file_address'].shape == (2048, 2048)'

Or even something slightly more elaborate (load the file yourself and check that they are equal?