#!/usr/bin/python
#
-# Copyright (c) 2015 All rights reserved
+# Copyright (c) 2017 All rights reserved
# This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
#
#
import ConfigParser
+import logging
import os
import re
import shutil
-import functest.utils.functest_logger as ft_logger
import functest.opnfv_tests.openstack.tempest.conf_utils as tempest_utils
-logger = ft_logger.Logger("sdnvpn-tempest").getLogger()
+logger = logging.getLogger('sdnvpn-tempest')
def main():
if int(failed) == 0:
status = "PASS"
else:
- status = "FAILED"
+ status = "FAIL"
return {"status": status, "details": results}
except:
if __name__ == '__main__':
+ logging.basicConfig(level=logging.INFO)
main()