make individual assertions

This commit is contained in:
Martin A. Brown 2016-03-01 08:20:57 -08:00
parent 6e2041692e
commit 8792b4c83a
1 changed files with 3 additions and 1 deletions

View File

@ -68,7 +68,9 @@ class BaseDoctype(object):
self.output = kwargs.get('output', None)
self.config = kwargs.get('config', None)
self.removals = list()
assert None not in (self.source, self.output, self.config)
assert self.source is not None
assert self.output is not None
assert self.config is not None
def cleanup(self):
stem = self.source.stem