19 lines
349 B
Python
19 lines
349 B
Python
"""
|
|
The main Plugin implementation
|
|
"""
|
|
|
|
|
|
BASE_DIR_KEY = "__pytest_csv_plugins__config__base_dir"
|
|
|
|
|
|
class Plugin: # pylint: disable=too-few-public-methods
|
|
"""
|
|
Plugin Class
|
|
"""
|
|
|
|
def __init__(self, config):
|
|
"""
|
|
Hold the pytest config
|
|
"""
|
|
setattr(Plugin, BASE_DIR_KEY, config.option.csv_params_base_dir)
|