remove the command line for test case
[stor4nfv.git] / stor4nfv_tests / stor4nfv_k8s.py
1 #!/usr/bin/env python
2 #
3 # Copyright (c) 2018 All rights reserved
4 # This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 #
8 # http://www.apache.org/licenses/LICENSE-2.0
9 #
10
11 import sys
12 import os
13 import subprocess
14
15 import functest_kubernetes.k8stest as k8stest
16
17
18 class K8sStor4nfvTest(k8stest.K8sTesting):
19
20     """Stor4NFV Kubernetes test suite"""
21     def __init__(self, **kwargs):
22         if "case_name" not in kwargs:
23             kwargs.get("case_name", 'stor4nfv_k8s')
24         super(K8sStor4nfvTest, self).__init__(**kwargs)
25         self.check_envs()
26
27     def run_kubetest(self):
28         success = True
29         if success:
30             self.result = 100
31         elif failure:
32             self.result = 0