summaryrefslogtreecommitdiffstats
path: root/django/engagementmanager/tests/test_expanded_eng.py
diff options
context:
space:
mode:
authorstark, steven <ss820f@att.com>2018-04-13 15:59:33 -0700
committerstark, steven <ss820f@att.com>2018-04-13 15:59:33 -0700
commit2c374d687fbfcaadf99509ed632f168d602859cb (patch)
tree7d9f7a20da28fe92a5eaeaa072a673512e92f4f5 /django/engagementmanager/tests/test_expanded_eng.py
parent6b60ac504256b6388e88647df65f6648eeb80e92 (diff)
[VVP] adding config for test coverage report
modifed tox, pom, and tests to create coverage report Change-Id: I98321c3d5c205622a3b4f5662566934f323ba70f Issue-ID: VVP-56 Signed-off-by: stark, steven <ss820f@att.com>
Diffstat (limited to 'django/engagementmanager/tests/test_expanded_eng.py')
-rw-r--r--django/engagementmanager/tests/test_expanded_eng.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/engagementmanager/tests/test_expanded_eng.py b/django/engagementmanager/tests/test_expanded_eng.py
index de2a622..82b1616 100644
--- a/django/engagementmanager/tests/test_expanded_eng.py
+++ b/django/engagementmanager/tests/test_expanded_eng.py
@@ -323,7 +323,7 @@ class testGetExpandedEngsAndSearch(TestBaseEntity):
urlStr = self.urlPrefix + 'vf' + str(vf.uuid) + '/vfcs/'
vfc_of_x_response = self.c.get(
urlStr, **{'HTTP_AUTHORIZATION': "token " + self.token})
- vfc_list = json.loads(vfc_of_x_response.content)
+ vfc_list = json.loads(vfc_of_x_response.content) or {}
for vfc in vfc_list:
if (vfc['name'] == self.random_keyword):
bool_flag = True