Tests: more fixtures.
Common methods from applications/proto.py converted to the fixtures. sysctl check moved to the specific file where it is using. Some options moved to the constructor to have early access.
This commit is contained in:
@@ -19,9 +19,6 @@ class TestTLSSNI(TestApplicationTLS):
|
||||
}
|
||||
)
|
||||
|
||||
def openssl_date_to_sec_epoch(self, date):
|
||||
return self.date_to_sec_epoch(date, '%b %d %X %Y %Z')
|
||||
|
||||
def add_tls(self, cert='default'):
|
||||
assert 'success' in self.conf(
|
||||
{"pass": "routes", "tls": {"certificate": cert}},
|
||||
|
||||
Reference in New Issue
Block a user