From 1dbd3f67b9e58fb52b6d559f637a46baf332e4ee Mon Sep 17 00:00:00 2001 From: Salvatore Orlando Date: Thu, 11 Aug 2011 00:59:00 +0100 Subject: [PATCH] I'm too tired --- tests/unit/test_cli.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/unit/test_cli.py b/tests/unit/test_cli.py index d772ed32d..341c3a81a 100644 --- a/tests/unit/test_cli.py +++ b/tests/unit/test_cli.py @@ -29,6 +29,7 @@ import unittest from quantum import api as server from quantum import cli +from quantum.client import Client from quantum.db import api as db from tests.unit.client_tools import stubs as client_stubs @@ -41,6 +42,9 @@ class CLITest(unittest.TestCase): options = {} options['plugin_provider'] = 'quantum.plugins.SamplePlugin.FakePlugin' self.api = server.APIRouterV01(options) + #self.client = Client("host", "port", False, + # args[0], FORMAT) + self.tenant_id = "test_tenant" self.network_name_1 = "test_network_1" self.network_name_2 = "test_network_2" @@ -56,4 +60,5 @@ class CLITest(unittest.TestCase): db.clear_db() def test_list_networks_api(self): + cli.api_list_nets(client) pass -- 2.45.2