add correct number of args for add
@@ -3,7 +3,7 @@ from vent.api.actions import Action
def test_add():
""" Test the add function """
instance = Action()
- status = instance.add()
+ status = instance.add('bad')
assert status[0] == False
status = instance.add('https://github.com/CyberReboot/vent-plugins', branch='experimental')
assert status[0] == True
@@ -14,7 +14,7 @@ def test_remove():
def test_start():
""" Test the start function """
- test_add()
+ test_add('https://github.com/CyberReboot/vent-plugins', branch='experimental')
instance = Action()
status = instance.start('elasticsearch')
assert status[0] == True
@@ -29,7 +29,7 @@ def test_clean():
def test_build():
""" Test the build function """
- test_add()
+ test_add('https://github.com/CyberReboot/vent-plugins', branch='experimental')
instance = Action()
status = instance.build()
assert status[0] == True
