Allow arguments to fr-dev test

This commit is contained in:
Adam Kelly 2020-05-15 11:17:46 +01:00
parent b212456d0d
commit 12bedf3316
2 changed files with 2 additions and 2 deletions

View file

@ -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
View file

@ -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