test_automount_plugin: Fix test ordering

Nose ran the `test_a_*` and `test_a2_*` tests in opposite order
than the source suggested. Fix this.

https://fedorahosted.org/freeipa/ticket/4610

Reviewed-By: Tomas Babej <tbabej@redhat.com>
This commit is contained in:
Petr Viktorin 2014-10-08 09:15:20 +02:00 committed by Tomas Babej
parent f3409ea031
commit 84bd4c1246

View File

@ -222,7 +222,7 @@ class test_automount(AutomountTest):
assert_attr_equal(res, 'automountinformation', self.newinfo)
assert_attr_equal(res, 'automountkey', self.keyname_rename)
def test_a_automountmap_mod(self):
def test_a1_automountmap_mod(self):
"""
Test the `xmlrpc.automountmap_mod` method.
"""
@ -244,7 +244,7 @@ class test_automount(AutomountTest):
dn=DN(('automountmapname', self.mapname),
('cn', self.locname),
('cn', 'automount'), api.env.basedn),
description=(u'description of map',),
description=(u'new description',),
automountmapname=(u'testmap',)),),
orphankeys=[(
dict(