tests: run all tests, but exclude tests specific to my computer from CI

controllable via HPI_TESTS_KARLICOSS=true
This commit is contained in:
Dima Gerasimov 2021-02-14 17:31:44 +00:00 committed by karlicoss
parent 6239879245
commit d562f00dca
21 changed files with 93 additions and 72 deletions

View file

@ -18,10 +18,10 @@ def setup_notes_path(notes: Path) -> None:
def test_dynamic_configuration(notes: Path) -> None:
setup_notes_path(notes)
from my.body.weight import dataframe
weight_df = dataframe()
from my.body.weight import from_orgmode
weights = [0.0 if isinstance(x, Exception) else x.value for x in from_orgmode()]
assert list(weight_df['weight'].fillna(0.0)) == [
assert weights == [
0.0,
62.0,
0.0,