File tree 2 files changed +1
-10
lines changed
2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change 14
14
('community' , True ),
15
15
('corporate' , False ),
16
16
('environment' , 'readthedocs' ),
17
-
18
- ('url_scheme' , 'http' ),
19
17
)
20
18
21
19
@@ -50,8 +48,3 @@ def settings_modification(settings):
50
48
@pytest .fixture
51
49
def api_client ():
52
50
return APIClient ()
53
-
54
-
55
- @pytest .fixture (scope = "class" )
56
- def url_scheme (request ):
57
- request .cls .url_scheme = request .config .option .url_scheme
Original file line number Diff line number Diff line change 9
9
from readthedocs .projects .models import Project
10
10
11
11
12
- @pytest .mark .usefixtures ("url_scheme" )
13
12
@override_settings (USE_SUBDOMAIN = False , PRODUCTION_DOMAIN = 'readthedocs.org' )
14
13
class CoreTagsTests (TestCase ):
15
14
fixtures = ['eric' , 'test_data' ]
16
15
17
16
def setUp (self ):
18
- url_base = '{scheme}://{domain}/docs/pip{{version}}' .format (
19
- scheme = self .url_scheme ,
17
+ url_base = 'http://{domain}/docs/pip{{version}}' .format (
20
18
domain = settings .PRODUCTION_DOMAIN ,
21
19
)
22
20
You can’t perform that action at this time.
0 commit comments