Correct argument types in name sort tests
The "names" argument is supposed to be a list, not a single string. Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
This commit is contained in:
parent
8f111e0235
commit
abf23bc0e9
@ -43,7 +43,7 @@ def test_extensions_listed_in_name_order():
|
||||
# fail
|
||||
em = named.NamedExtensionManager(
|
||||
'stevedore.test.extension',
|
||||
names='t1 t2',
|
||||
names=['t1', 't2'],
|
||||
name_order=True
|
||||
)
|
||||
actual = em.names()
|
||||
@ -51,7 +51,7 @@ def test_extensions_listed_in_name_order():
|
||||
|
||||
em = named.NamedExtensionManager(
|
||||
'stevedore.test.extension',
|
||||
names='t2 t1',
|
||||
names=['t2', 't1'],
|
||||
name_order=True
|
||||
)
|
||||
actual = em.names()
|
||||
|
Loading…
Reference in New Issue
Block a user