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

@ -1,12 +1,16 @@
from .common import skip_if_not_karlicoss as pytestmark
# todo current test doesn't depend on data, in principle...
# should make lazy loading the default..
from datetime import datetime
import json
import pytz
from my.twitter.archive import Tweet
def test_tweet():
def test_tweet() -> None:
from my.twitter.archive import Tweet
raw = """
{
"retweeted" : false,