[tests] tools: make sure that function returns non-None values

This commit is contained in:
Fabio Erculiani
2011-09-20 12:18:05 +02:00
parent c10cda3cc8
commit 606e5775be

View File

@@ -463,6 +463,7 @@ class ToolsTest(unittest.TestCase):
hash_tag = et.md5sum(pkg_path_a) + et.md5sum(pkg_path_b)
delta_path = et.generate_entropy_delta(pkg_path_a, pkg_path_b,
hash_tag, pkg_compression = "bz2")
self.assertNotEqual(None, delta_path) # missing bsdiff?
tmp_fd, tmp_path = tempfile.mkstemp()
os.close(tmp_fd)
try: