Closed skrzepto closed 8 years ago
:+1: for me
We may want to .strip()
while at it, unless it's already done somewhere (and that might be true for more fields)
Forgot about that edge case, let me test locally to see if it faults.
let me test locally
Unit-tests!! Ok I'm out :D
let me test locally
Unit-tests!! Ok I'm out :D
Soon :) still trying to fully understand how fas works
Looks like the other unique fields have some kind of client verification. I'll look into writing unittests now to this
Have you looked at defined a default None
here https://github.com/fedora-infra/fas/blob/FAS_3.0/fas/forms/people.py#L166 see if this work? This might avoid to add am if statement on the register.
@laxathom unfortunately the default None
doesn't help at least doesn't pass the unit tests I wrote. But this change does
Any comments on this?
@bowlofeggs I applied you feedback, thanks :) are we good to merge?
173
If the irc nick field is empty set it to None instead