class documentation

class StringStubbingTests(TestCase): (source)

View In Hierarchy

Tests for :obj:`StringStubbingResource`.

Method test_interacts_successfully_with_istub The :obj:`IStringResponseStubs` is passed the correct parameters with which to evaluate the response, and the response is returned.
Method _get_response_for Make a :obj:`IStringResponseStubs` that checks the expected args and returns the given response.
def test_interacts_successfully_with_istub(self): (source)

The :obj:`IStringResponseStubs` is passed the correct parameters with which to evaluate the response, and the response is returned.

def _get_response_for(self, expected_args, response): (source)

Make a :obj:`IStringResponseStubs` that checks the expected args and returns the given response.