update tests for start changes
@@ -28,8 +28,8 @@ def test_build():
status = instance.build(branch='experimental')
assert status[0] == True
-def test_start():
- """ Test the start function """
+def test_prep_start():
+ """ Test the prep_start function """
instance = Action()
status = instance.add('https://github.com/cyberreboot/vent-plugins',
branch='experimental',
@@ -44,7 +44,13 @@ def test_start():
('vent/core/redis', ''),
('vent/core/syslog', '')])
assert status[0] == True
- status = instance.start(groups='core', branch='experimental')
+ status = instance.prep_start(groups='core', branch='experimental')
+ assert type(status) == dict
+
+def test_start():
+ """ Test the start function """
+ instance = Action()
+ status = instance.start({})
assert status[0] == True
def test_stop():
