my.bluemaestro: run against testdata, add on CI

This commit is contained in:
Dima Gerasimov 2020-10-03 20:05:21 +01:00 committed by karlicoss
parent e63c159b80
commit 6242307d7a
7 changed files with 49 additions and 20 deletions

View file

@ -8,7 +8,11 @@ def disable_cachew():
NOTE: you need to use it before importing any function using @cachew.cachew
'''
# TODO not sure... maybe it should instead use some hook.. it's a ibt ugly do
import cachew
try:
import cachew
except ImportError:
# nothing to disable
return
@cachew.doublewrap
def cachew_off(func=None, *args, **kwargs):