summaryrefslogtreecommitdiffstats
path: root/test/modules/http2/test_006_assets.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/modules/http2/test_006_assets.py')
-rw-r--r--test/modules/http2/test_006_assets.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/modules/http2/test_006_assets.py b/test/modules/http2/test_006_assets.py
index 339364ee58..44558da81e 100644
--- a/test/modules/http2/test_006_assets.py
+++ b/test/modules/http2/test_006_assets.py
@@ -1,17 +1,17 @@
import pytest
-from h2_conf import HttpdConf
+from .env import H2Conf
class TestStore:
@pytest.fixture(autouse=True, scope='class')
def _class_scope(self, env):
- HttpdConf(env).add_vhost_test1().install()
+ H2Conf(env).add_vhost_test1().install()
assert env.apache_restart() == 0
# single page without any assets
- def test_006_01(self, env):
+ def test_h2_006_01(self, env):
url = env.mkurl("https", "test1", "/001.html")
r = env.nghttp().assets(url, options=["-Haccept-encoding: none"])
assert 0 == r.exit_code
@@ -21,7 +21,7 @@ class TestStore:
]
# single image without any assets
- def test_006_02(self, env):
+ def test_h2_006_02(self, env):
url = env.mkurl("https", "test1", "/002.jpg")
r = env.nghttp().assets(url, options=["-Haccept-encoding: none"])
assert 0 == r.exit_code
@@ -31,7 +31,7 @@ class TestStore:
]
# gophertiles, yea!
- def test_006_03(self, env):
+ def test_h2_006_03(self, env):
# create the tiles files we originally had checked in
exp_assets = [
{"status": 200, "size": "10K", "path": "/004.html"},
@@ -51,7 +51,7 @@ class TestStore:
assert r.assets == exp_assets
# page with js and css
- def test_006_04(self, env):
+ def test_h2_006_04(self, env):
url = env.mkurl("https", "test1", "/006.html")
r = env.nghttp().assets(url, options=["-Haccept-encoding: none"])
assert 0 == r.exit_code
@@ -63,7 +63,7 @@ class TestStore:
]
# page with image, try different window size
- def test_006_05(self, env):
+ def test_h2_006_05(self, env):
url = env.mkurl("https", "test1", "/003.html")
r = env.nghttp().assets(url, options=["--window-bits=24", "-Haccept-encoding: none"])
assert 0 == r.exit_code