Remove check_envs call
[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
26     def run_kubetest(self):
27         success = True
28         if success:
29             self.result = 100
30         elif failure:
31             self.result = 0