[Freeipa-devel] [freeipa PR#275][comment] Enhance __repr__ method of Principal

tiran freeipa-github-notification at redhat.com
Tue Nov 29 17:10:31 UTC 2016


  URL: https://github.com/freeipa/freeipa/pull/275
Title: #275: Enhance __repr__ method of Principal

tiran commented:
"""
Can you please add a test to```ipatests/test_ipapython/test_kerberos.py``` ```test_principals```? Something along the line ```assert repr(princ) == "ipapython.kerberos.Principal('{}')".format(principal_name)``` should do the trick (untested).
"""

See the full comment at https://github.com/freeipa/freeipa/pull/275#issuecomment-263633526


More information about the Freeipa-devel mailing list