unit tests for cli.load_plugins

This commit is contained in:
Yuming Zhu 2017-05-08 04:44:51 +00:00 committed by Mike McLean
parent 0f51a9936f
commit 6fe90a170d
5 changed files with 47 additions and 7 deletions

View file

@ -0,0 +1,19 @@
from koji.plugin import export_cli, export_as
@export_as('foobar')
@export_cli
def foo():
pass
@export_cli
def foo2():
pass
def foo3():
pass
foo4 = 'foo4'
class bar():
pass

View file

@ -0,0 +1 @@
sth = 123