Package pytest_auto :: Module yp_auto
[hide private]
[frames] | no frames]

Module yp_auto

source code

Pytest plugin with commonly used fixtures

Functions [hide private]
 
tlib_logger(request)
Returns logger with name tlib.
source code
 
adb_logger(request)
Returns logger with name adb
source code
 
test_logger(request)
Returns logger with name test
source code
Variables [hide private]
  __package__ = 'pytest_auto'
Function Details [hide private]

tlib_logger(request)

source code 

Returns logger with name tlib.

Logger will get flushed at the end to ensure data is not lost fi tests exist abnormally

Decorators:
  • @pytest.fixture(scope= 'session')

adb_logger(request)

source code 

Returns logger with name adb

Logger will get flushed at the end to ensure data is not lost fi tests exist abnormally

Decorators:
  • @pytest.fixture(scope= 'session')

test_logger(request)

source code 

Returns logger with name test

Logger will get flushed at the end to ensure data is not lost fi tests exist abnormally

Decorators:
  • @pytest.fixture(scope= 'session')