1import fcntl
2import os
3import platform
4import re
5import shutil
6import signal
7import socket
8import stat

--- 61 unchanged lines hidden (view full) ---

70
71
72def skip_alert(*alerts):
73 option.skip_alerts.extend(alerts)
74
75
76def pytest_generate_tests(metafunc):
77 cls = metafunc.cls
78 if not hasattr(cls, 'application_type'):
78 if (not hasattr(cls, 'application_type')
79 or cls.application_type == None
80 or cls.application_type == 'external'):
81 return
82
83 type = cls.application_type
84
85 def generate_tests(versions):
86 metafunc.fixturenames.append('tmp_ct')
87 metafunc.parametrize('tmp_ct', versions)
88

--- 340 unchanged lines hidden ---