Skip to content

Commit 24de7f2

Browse files
authored
Merge pull request #6220 from stsewd/override-media-artifacts
Override production media artifacts on test
2 parents a42f5d4 + fc924e5 commit 24de7f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/rtd_tests/tests/test_search_json_parsing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
import os
32

43
from django.test import TestCase
@@ -13,6 +12,7 @@
1312
class TestHacks(TestCase):
1413

1514
@override_settings(MEDIA_ROOT=base_dir)
15+
@override_settings(PRODUCTION_MEDIA_ARTIFACTS=base_dir)
1616
def test_h2_parsing(self):
1717
data = process_file('files/api.fjson')
1818

0 commit comments

Comments
 (0)