tests: run all tests, but exclude tests specific to my computer from CI
controllable via HPI_TESTS_KARLICOSS=true
This commit is contained in:
parent
6239879245
commit
d562f00dca
21 changed files with 93 additions and 72 deletions
|
@ -1,7 +1,9 @@
|
|||
from my.smscalls import calls, messages
|
||||
from .common import skip_if_not_karlicoss as pytestmark
|
||||
# TODO maybe instead detect if it has any data at all
|
||||
# if none, then skip the test, say that user doesn't have any data?
|
||||
|
||||
|
||||
# TODO that's a pretty dumb test; perhaps can be generic..
|
||||
def test():
|
||||
# TODO implement via stat?
|
||||
def test() -> None:
|
||||
from my.smscalls import calls, messages
|
||||
assert len(list(calls())) > 10
|
||||
assert len(list(messages())) > 10
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue