conftest.py (1654:fc7d0578e124) conftest.py (1670:099c23b00eaf)
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
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'):
79 return
80
81 type = cls.application_type
82
83 def generate_tests(versions):
84 metafunc.fixturenames.append('tmp_ct')
85 metafunc.parametrize('tmp_ct', versions)
86

--- 340 unchanged lines hidden ---
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 ---