Change-Id: I827ea28bb892b6c503e4062a5f7e557969a71441
Issue-ID: VFC-443
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
# See the License for the specific language governing permissions and
# limitations under the License.
+
def enum(**enums):
return type('Enum', (), enums)
# See the License for the specific language governing permissions and
# limitations under the License.
+
def ignore_case_get(args, key, def_val=""):
if not key:
return def_val
return args[old_key]
return def_val
+
def set_opt_val(param, key, val):
if val or val is False:
param[key] = val
from mgr.pub.database.models import VnfRegModel
from mgr.pub.utils import restcall
+
class VnfRegTest(unittest.TestCase):
def setUp(self):
self.client = Client()
downloadcache = ~/cache/pip
[flake8]
-ignore = E501,E302,W293,E128,W291
+ignore = E501,W293,E128,W291
[testenv]
deps = -r{toxinidir}/requirements.txt