Update tests according new development platforms architecture // Issue #479

This commit is contained in:
Ivan Kravets
2016-05-28 22:51:33 +03:00
parent c73dd60bd1
commit 23ef51a4e8
6 changed files with 47 additions and 25 deletions

View File

@@ -125,6 +125,7 @@ class PlatformFactory(object):
name, requirements)
if _manifest:
platform_dir = dirname(_manifest['_manifest_path'])
if not platform_dir:
raise exception.UnknownPlatform(
name if not requirements else "%s@%s" % (name, requirements))