Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a useful agent.UserAgent.__repr__() #3

Open
goodboy opened this issue Jan 19, 2016 · 0 comments
Open

Add a useful agent.UserAgent.__repr__() #3

goodboy opened this issue Jan 19, 2016 · 0 comments

Comments

@goodboy
Copy link
Member

goodboy commented Jan 19, 2016

For debugging purposes, something along the lines of the following will be useful:

>>> sipp_scenario.agents    # lets see the effective arguments we're use to build commands from:
... [u'uac': Agent(timeout=1000,
                   global_vars={u'foobar': u'Hello World',
                                u'baz': u'All hail pysipp'},
                   proxy=('vortex.qa.sangoma.local', 5060))
     u'uac': Agent(...)]

Thanks to @vodik for the suggestion.

@goodboy goodboy changed the title Add a useful agent.__repr__ Add a useful agent.UserAgent.__repr__ Jan 19, 2016
@goodboy goodboy changed the title Add a useful agent.UserAgent.__repr__ Add a useful agent.UserAgent.__repr__() Jan 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant