summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmma Foley <emma.l.foley@intel.com>2017-11-29 23:33:27 +0000
committerEmma Foley <emma.l.foley@intel.com>2018-01-25 19:56:44 +0000
commit225636672f9da12be4f1570598153dcf27afc0d1 (patch)
tree731a8902e22d906eff707c07198cba34a7225037
parentccc7cf93bd769f2b9255ac59e93751535b463f2a (diff)
Move tests: unit/cmd/
* Fix pylint errors * Add TODOs Some errors are ignored locally, as they were a symptom of other problems. These issues have been flagged with a TODO, and should be fixed later. Change-Id: I505d72e1c646fea1976a0bf854369c6b6308bbb1 Jira: YARDSTICK-837 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
-rw-r--r--yardstick/tests/unit/test_cmd/__init__.py (renamed from tests/unit/test_cmd/__init__.py)0
-rw-r--r--yardstick/tests/unit/test_cmd/commands/__init__.py (renamed from tests/unit/test_cmd/commands/__init__.py)0
-rw-r--r--yardstick/tests/unit/test_cmd/commands/test_env.py (renamed from tests/unit/test_cmd/commands/test_env.py)0
-rw-r--r--yardstick/tests/unit/test_cmd/commands/test_testcase.py (renamed from tests/unit/test_cmd/commands/test_testcase.py)0
-rw-r--r--yardstick/tests/unit/test_cmd/test_NSBperf.py (renamed from tests/unit/test_cmd/test_NSBperf.py)2
5 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/test_cmd/__init__.py b/yardstick/tests/unit/test_cmd/__init__.py
index e69de29bb..e69de29bb 100644
--- a/tests/unit/test_cmd/__init__.py
+++ b/yardstick/tests/unit/test_cmd/__init__.py
diff --git a/tests/unit/test_cmd/commands/__init__.py b/yardstick/tests/unit/test_cmd/commands/__init__.py
index e69de29bb..e69de29bb 100644
--- a/tests/unit/test_cmd/commands/__init__.py
+++ b/yardstick/tests/unit/test_cmd/commands/__init__.py
diff --git a/tests/unit/test_cmd/commands/test_env.py b/yardstick/tests/unit/test_cmd/commands/test_env.py
index 13c3ed44a..13c3ed44a 100644
--- a/tests/unit/test_cmd/commands/test_env.py
+++ b/yardstick/tests/unit/test_cmd/commands/test_env.py
diff --git a/tests/unit/test_cmd/commands/test_testcase.py b/yardstick/tests/unit/test_cmd/commands/test_testcase.py
index 7ef157c19..7ef157c19 100644
--- a/tests/unit/test_cmd/commands/test_testcase.py
+++ b/yardstick/tests/unit/test_cmd/commands/test_testcase.py
diff --git a/tests/unit/test_cmd/test_NSBperf.py b/yardstick/tests/unit/test_cmd/test_NSBperf.py
index 19eb0afa0..483e82a13 100644
--- a/tests/unit/test_cmd/test_NSBperf.py
+++ b/yardstick/tests/unit/test_cmd/test_NSBperf.py
@@ -59,7 +59,7 @@ class TestYardstickNSCli(unittest.TestCase):
def test_handle_list_options(self):
yardstick_ns_cli = YardstickNSCli()
CLI_PATH = os.path.dirname(os.path.realpath(__file__))
- repo_dir = CLI_PATH + "/../../"
+ repo_dir = CLI_PATH + "/../../../"
test_path = os.path.join(repo_dir, "../samples/vnf_samples/nsut/")
args = {"list_vnfs": True, "list": False}
self.assertRaises(SystemExit, yardstick_ns_cli.handle_list_options,