You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
343 B
16 lines
343 B
5 years ago
|
from check_index import *
|
||
|
|
||
|
def check_reply(r):
|
||
|
assert is_dict(r)
|
||
|
assert sorted(r.keys()) == []
|
||
|
|
||
|
def check_objects(o):
|
||
|
assert is_list(o)
|
||
|
assert len(o) == 0
|
||
|
|
||
|
assert is_dict(index)
|
||
|
assert sorted(index.keys()) == ["cmake", "objects", "reply"]
|
||
|
check_cmake(index["cmake"])
|
||
|
check_reply(index["reply"])
|
||
|
check_objects(index["objects"])
|