Skip to content

Commit

Permalink
use a decorator instead to prevent trying to find collected static files
Browse files Browse the repository at this point in the history
  • Loading branch information
longhotsummer committed Jun 7, 2024
1 parent 1c70155 commit 85900f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,5 @@ jobs:
DATABASE_URL: "postgres://postgres:postgres@localhost:5432/indigo_test"
run: |
PATH=/usr/share/fop-2.5/fop:$PATH
python manage.py compilescss
python manage.py collectstatic --noinput -i docs -i \*.scss
coverage run manage.py test
jshint indigo_app/static/javascript/indigo/ --exclude indigo_app/static/javascript/indigo/bluebell-monaco.js
3 changes: 3 additions & 0 deletions indigo_content_api/tests/v3/test_taxonomies_api.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
from django.test import override_settings

from rest_framework.test import APITestCase


@override_settings(STATICFILES_STORAGE='django.contrib.staticfiles.storage.StaticFilesStorage')
class TaxonomyTopicsAPIV3Test(APITestCase):
fixtures = ['languages_data', 'countries', 'user', 'editor', 'taxonomy_topics', 'work', 'published', 'colophon',
'attachments', 'commencements']
Expand Down

0 comments on commit 85900f4

Please sign in to comment.