[Freeipa-devel] [TESTS][PATCH 0011] WebUI: Creating user without private group

Lenka Doudova ldoudova at redhat.com
Fri Mar 18 10:24:12 UTC 2016



On 03/10/2016 06:58 PM, Petr Vobornik wrote:
> On 03/08/2016 01:17 PM, Lenka Doudova wrote:
>>
>>
>> On 03/08/2016 12:59 PM, Petr Vobornik wrote:
>>> On 03/07/2016 04:29 PM, Pavel Vomacka wrote:
>>>>
>>>>
>>>> On 02/25/2016 03:08 PM, Lenka Doudova wrote:
>>>>> Hi,
>>>>>
>>>>> here's a patch for webUI tests that provides test for creating user
>>>>> without private group.
>>>>> Related to ticket https://fedorahosted.org/freeipa/ticket/4986
>>>>>
>>>>> Since the option to specify GID when creating a user is not available
>>>>> https://fedorahosted.org/freeipa/ticket/5505 the test creates a new
>>>>> posix group, makes it a default user group instead of 'ipausers' and
>>>>> then attemps to create the user without private group. Returning
>>>>> default user group value to 'ipausers' is provided even for cases 
>>>>> when
>>>>> the test fails so it would not block other tests from performing
>>>>> properly.
>>>>>
>>>>> Lenka
>>>>>
>>>>>
>>>> Hi,
>>>>
>>>> ACK, works well.
>>>>
>>>> Pavel^3 Vomacka
>>>>
>>>
>>> NACK, don't use naked except, specify at least 'Exception'
>>>   +        except:
>>>
>>
>> Thanks, patch fixed according to Petr's review attached.
>>
>> Lenka
>
> Ticket 5505 was pushed. So the workaround can be removed. Do you 
> prefer to do it in this patch?
>
> Also, maybe it would be good to test both cases and check if the error 
> is actually the right one.

Hi,

attaching patch fixed according to recently pushed changes.

Lenka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-ldoudova-0011.3-WebUI-Test-creating-user-without-private-group.patch
Type: text/x-patch
Size: 7345 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160318/6b00b44c/attachment.bin>


More information about the Freeipa-devel mailing list