artemis-analytics / artemis

Apache License 2.0
5 stars 2 forks source link

add skiptest decorator for failed module loading #51

Closed ryanmwhitephd closed 4 years ago

ryanmwhitephd commented 4 years ago

Resolves #50 Should enable testing on Mac and linux, skipping tests when certain modules fail to load. @DominicParent if you have both os available, you can compare the unittests. Simply try: python -m unittest tests/test_filtercol.py

this should run on linux with fwfr and filtercoltool built properly, but just skip on macOS when the module import fails.

ryanmwhitephd commented 4 years ago

I'll check the CI results.

ryanmwhitephd commented 4 years ago

Appears to be skipping the tests, rather than loading the module. I'll investigate further, hold off on the merge.

ryanmwhitephd commented 4 years ago

@DominicParent this is ready for review now.