mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 11:31:08 +00:00
Allow arguments to fr-dev test
This commit is contained in:
parent
b212456d0d
commit
12bedf3316
2 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,6 @@ def shared_inbox(request):
|
|||
|
||||
key_actor = urldefrag(signature.key_id).url
|
||||
if key_actor != activity.get('actor'):
|
||||
print("Wrong sig: ", key_actor, activity.get('actor'))
|
||||
raise ValueError("Wrong actor created signature.")
|
||||
|
||||
key = get_public_key(key_actor)
|
||||
|
|
3
fr-dev
3
fr-dev
|
@ -38,7 +38,8 @@ case "$1" in
|
|||
docker-compose restart celery_worker
|
||||
;;
|
||||
test)
|
||||
docker-compose exec web coverage run --source='.' manage.py test
|
||||
shift 1
|
||||
docker-compose exec web coverage run --source='.' manage.py test "$@"
|
||||
;;
|
||||
test_report)
|
||||
docker-compose exec web coverage report
|
||||
|
|
Loading…
Reference in a new issue