# Path: vcontrol/rest/commands/info.py
# class InfoCommandR:
#     def GET(self, machine):
# 
# Path: vcontrol/rest/commands/plugins/add.py
# class AddPluginCommandR:
#     def OPTIONS(self):
#     def POST(self):


from vcontrol.rest.commands import info
from vcontrol.rest.commands.plugins import add
import requests


def test_info_command_r():
    """ tests the InfoCommandR class """
    r = requests.get('http://localhost:8080/v1/commands/info/foo')
    assert r.text == 'unable to get info on foo'

# Path: vcontrol/rest/commands/info.py
# class InfoCommandR:
#     def GET(self, machine):
# 
# Path: vcontrol/rest/commands/plugins/add.py
# class AddPluginCommandR:
#     def OPTIONS(self):
#     def POST(self):


# Path: tests/test_rest.py
from vcontrol.rest.commands import info
from vcontrol.rest.commands.plugins import add
import requests



def test_info_command_r():
    """ tests the InfoCommandR class """
    r = requests.get('http://localhost:8080/v1/commands/info/foo')
    assert r.text == 'unable to get info on foo'

    c_inst = info.InfoCommandR()