summaryrefslogtreecommitdiffstats
path: root/test/modules/tls/test_01_apache.py
blob: cb6af6d4615b37d41553a725e9c347a9c68adcf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import pytest

from .conf import TlsTestConf


class TestApache:

    @pytest.fixture(autouse=True, scope='class')
    def _class_scope(self, env):
        TlsTestConf(env=env).install()
        assert env.apache_restart() == 0

    def test_tls_01_apache_http(self, env):
        assert env.is_live(env.http_base_url)