mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-07-28 04:07:46 +00:00
This package will be used in Pybricks Code to provide some intellesense operations.
31 lines
719 B
Python
31 lines
719 B
Python
import pybricks_jedi
|
|
|
|
|
|
def pytest_configure(config):
|
|
"""
|
|
Allows plugins and conftest files to perform initial configuration.
|
|
This hook is called for every plugin and initial conftest
|
|
file after command line options have been parsed.
|
|
"""
|
|
|
|
|
|
def pytest_sessionstart(session):
|
|
"""
|
|
Called after the Session object has been created and
|
|
before performing collection and entering the run test loop.
|
|
"""
|
|
pybricks_jedi.initialize()
|
|
|
|
|
|
def pytest_sessionfinish(session, exitstatus):
|
|
"""
|
|
Called after whole test run finished, right before
|
|
returning the exit status to the system.
|
|
"""
|
|
|
|
|
|
def pytest_unconfigure(config):
|
|
"""
|
|
called before test process is exited.
|
|
"""
|