Commit c7a8c41b authored by Kirill Smelkov's avatar Kirill Smelkov

Add support for plone.recipe.command

Simply ignore it from the BOM point of view.
parent fea4635a
......@@ -201,6 +201,10 @@ def bom_software(installed_software_path): # -> {} (name,kind) -> PkgInfo
ver = 'HEAD'
addbom(repo, 'git', ver)
elif recipe in ('plone.recipe.command',):
# not downloading anything
pass
else:
raise NotImplementedError('TODO: add support for recipe %s' % recipe)
......
......@@ -274,6 +274,12 @@ url = http://downloads.sourceforge.net/project/zabbix/ZABBIX%20Latest%20Stable/2
zabbix 2.0.10 http://downloads.sourceforge.net/project/zabbix/ZABBIX%20Latest%20Stable/2.0.10/zabbix-2.0.10.tar.gz
""")
# plone.recipe.command is ignored
case1("""\
[gowork.dir]
recipe = plone.recipe.command
""", '')
@pytest.mark.parametrize('build,bomok', testv)
def test_bom_software(tmpdir, build, bomok):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment