summaryrefslogtreecommitdiffstats
path: root/test/bad_test_Utils.py
diff options
context:
space:
mode:
authorSastry Isukapalli <sastry@research.att.com>2018-02-19 01:29:26 -0500
committerSastry Isukapalli <sastry@research.att.com>2018-02-19 01:29:40 -0500
commit1a1852eb578debd53fb8cfc22de073b14aebdb5a (patch)
treedab2a5bf04aec7ea67cb669937b43ec80630b1d4 /test/bad_test_Utils.py
parentde18d2d3235e7c7a8fde000fff6ae426d132788a (diff)
Adding/updating copyrights plus some unittests
Issue-ID: OPTFRA-96 Change-Id: Ica36e3cd90a87f97b6749500c00d7097c37abe39 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
Diffstat (limited to 'test/bad_test_Utils.py')
-rw-r--r--test/bad_test_Utils.py21
1 files changed, 0 insertions, 21 deletions
diff --git a/test/bad_test_Utils.py b/test/bad_test_Utils.py
deleted file mode 100644
index 3e5cecd..0000000
--- a/test/bad_test_Utils.py
+++ /dev/null
@@ -1,21 +0,0 @@
-import unittest
-import json
-
-from osdf.config.base import osdf_config
-from osdf.utils.programming_utils import dot_notation
-
-
-class TestUtils(unittest.TestCase):
-
- def test_metrics(self):
- with open('test/placement-tests/request.json', 'r') as f:
- data = json.load(f)
- placementInfo = data["placementInfo"]
- config_local = osdf_config.core
- self.assertEqual("USOSTCDALTX0101UJZZ11", dot_notation(placementInfo, config_local['service_info']['vCPE']['vcpeHostName']))
- self.assertEqual("200", dot_notation(placementInfo, config_local['service_info']['vCPE']['e2eVpnKey']))
- self.assertEqual(['vGMuxInfra', 'vG'], dot_notation(placementInfo, 'demandInfo.placementDemand.resourceModuleName'))
-
-
-if __name__ == '__main__':
- unittest.main()