Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfox committed Jan 17, 2024
1 parent b2d8a19 commit 2ec9347
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
13 changes: 7 additions & 6 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -31,29 +31,30 @@ install_requires =
markupsafe == 1.1.1
psycopg2 == 2.9.9
pygments == 2.8.1
python-dateutil == 2.8.1
python-dateutil == 2.8.2
python-dotenv == 0.16.0
python-editor == 1.0.4
python-multipart == 0.0.5
pyyaml == 6.0.1
redis == 3.5.3
redis == 5.0.1
rq == 1.8.0
rq-scheduler == 0.11.0
selenium == 3.141.0
six == 1.15.0
setuptools == 69.0.3
six == 1.16.0
sqlalchemy == 1.4.4
starlette == 0.14.2
# strawberry-graphql == 0.213.0
strawberry-graphql @ git+https://github.com/staticfox/strawberry@a16e760f21bfcfee975e395c4763bd3b3972a561#egg=strawberry
strawberry-graphql @ git+https://github.com/staticfox/strawberry@1be9f2ad02651f58f556721bdeef537288469853#egg=strawberry
typing-extensions == 3.7.4.3
urllib3 == 1.26.4
urllib3 == 2.1.0
werkzeug == 1.0.1

[options.extras_require]
dev =
attrs == 20.3.0
coverage == 5.5
fakeredis == 1.5.0
fakeredis == 2.20.1
flake8 == 7.0.0
freezegun == 1.1.0
mccabe == 0.7.0
Expand Down
5 changes: 2 additions & 3 deletions tests/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,15 @@

from sirendb.core.db import db as db_
from sirendb.core.redis import redis as redis_
from sirendb.utils.debug import ASSERT
from sirendb.web.flask import create_app


@pytest.fixture(autouse=True)
def redis(app, client):
yield

if type(redis_.__local) is not FakeRedis:
assert False, 'you should be using fakeredis!'
return
ASSERT(isinstance(redis_.__local, FakeRedis), 'you should be using fakeredis!')

redis_.flushall()

Expand Down

0 comments on commit 2ec9347

Please sign in to comment.