fix up python requirements test

This commit is contained in:
Chris Meyers 2016-11-15 09:19:23 -05:00
parent 1883485724
commit e7b9410361

View File

@ -40,6 +40,7 @@ def test_env_matches_requirements_txt():
if res is False:
not_found.append(r)
raise RuntimeError("%s not found in \n\n%s" % (not_found, reqs_actual))
if len(not_found) > 0:
raise RuntimeError("%s not found in \n\n%s" % (not_found, reqs_actual))