Tests for publish list API + verify that publishing actually creates files. #116

This commit is contained in:
Andrey Smirnov
2015-03-03 20:35:48 +03:00
parent 4b974b038c
commit eb0443ed51
2 changed files with 38 additions and 8 deletions
+4
View File
@@ -267,6 +267,10 @@ class BaseTest(object):
if a != b:
self.verify_match(a, b, match_prepare=pprint.pformat)
def check_in(self, item, l):
if not item in l:
raise Exception("item %r not in %r", item, l)
def check_subset(self, a, b):
diff = ''
for k, v in a.items():