[svn r37430] Fixed test, was depending on dict order and values had changed.

--HG--
branch : trunk
This commit is contained in:
guido 2007-01-27 14:20:56 +01:00
parent 23681b8059
commit c96eb10efd
1 changed files with 3 additions and 3 deletions

View File

@ -74,9 +74,9 @@ def setup_fs_project():
def test_get_documentable_items():
fs_root, package_name = setup_fs_project()
documentable = apigen.get_documentable_items(fs_root.join(package_name))
assert documentable.__package__.exportdefs.keys() == [
'main.sub.func', 'main.func', 'main.SomeTestSubClass',
'main.SomeTestClass']
assert sorted(documentable.__package__.exportdefs.keys()) == [
'main.SomeTestClass', 'main.SomeTestSubClass', 'main.func',
'main.sub.func']
def test_apigen_functional():
fs_root, package_name = setup_fs_project()