userver: testsuite.plugins.testpoint.TestpointFixture Class Reference
Loading...
Searching...
No Matches
testsuite.plugins.testpoint.TestpointFixture Class Reference

Detailed Description

Testpoint control object.

Definition at line 20 of file testpoint.py.

Inheritance diagram for testsuite.plugins.testpoint.TestpointFixture:

Public Member Functions

None __init__ (self, *, checker_factory)
callinfo.AsyncCallQueue __getitem__ (self, str name)
 __setitem__ (self, str key, callinfo.AsyncCallQueue value)
 __delitem__ (self, key)
 __len__ (self)
 __iter__ (self)
TestpointDecorator __call__ (self, str name)
 Returns decorator for registering testpoint called name.

Protected Attributes

dict _handlers = {}
 _checker_factory = checker_factory

Constructor & Destructor Documentation

◆ __init__()

None testsuite.plugins.testpoint.TestpointFixture.__init__ ( self,
* ,
checker_factory )

Definition at line 23 of file testpoint.py.

Member Function Documentation

◆ __call__()

TestpointDecorator testsuite.plugins.testpoint.TestpointFixture.__call__ ( self,
str name )

Returns decorator for registering testpoint called name.

After decoration function is wrapped with AsyncCallQueue_.

Definition at line 51 of file testpoint.py.

◆ __delitem__()

testsuite.plugins.testpoint.TestpointFixture.__delitem__ ( self,
key )

Definition at line 33 of file testpoint.py.

◆ __getitem__()

callinfo.AsyncCallQueue testsuite.plugins.testpoint.TestpointFixture.__getitem__ ( self,
str name )

Definition at line 27 of file testpoint.py.

◆ __iter__()

testsuite.plugins.testpoint.TestpointFixture.__iter__ ( self)

Definition at line 48 of file testpoint.py.

◆ __len__()

testsuite.plugins.testpoint.TestpointFixture.__len__ ( self)

Definition at line 45 of file testpoint.py.

◆ __setitem__()

testsuite.plugins.testpoint.TestpointFixture.__setitem__ ( self,
str key,
callinfo.AsyncCallQueue value )

Definition at line 30 of file testpoint.py.

Member Data Documentation

◆ _checker_factory

testsuite.plugins.testpoint.TestpointFixture._checker_factory = checker_factory
protected

Definition at line 25 of file testpoint.py.

◆ _handlers

testsuite.plugins.testpoint.TestpointFixture._handlers = {}
protected

Definition at line 24 of file testpoint.py.


The documentation for this class was generated from the following file: