aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/datafilecollector-testharness/mr-sim
diff options
context:
space:
mode:
authorRemigiusz Janeczek <remigiusz.janeczek@nokia.com>2020-08-25 14:36:16 +0200
committerKrzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>2020-08-28 07:34:28 +0000
commit13b842ccd307ed4a2860b0044cf00d326f3866b9 (patch)
tree47193012d1b25cca94444c433fb9736e43866088 /test/mocks/datafilecollector-testharness/mr-sim
parentd1cc6db2b73f6381e82cfa8613da66e8b3705440 (diff)
Update tests for Datafile Collector (DCAE SDK update)
Adjust DFC consul configs Make message router sim return array of strings instead of array of json objects as response (as in live environment) Issue-ID: DCAEGEN2-2267 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I792c9abcb1c49d73a790ca9c2e8f46a0e1dfd099
Diffstat (limited to 'test/mocks/datafilecollector-testharness/mr-sim')
-rw-r--r--test/mocks/datafilecollector-testharness/mr-sim/mr-sim.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mocks/datafilecollector-testharness/mr-sim/mr-sim.py b/test/mocks/datafilecollector-testharness/mr-sim/mr-sim.py
index f2b781bd9..982f4b8b3 100644
--- a/test/mocks/datafilecollector-testharness/mr-sim/mr-sim.py
+++ b/test/mocks/datafilecollector-testharness/mr-sim/mr-sim.py
@@ -1147,7 +1147,7 @@ def getEventHead(groupIndex, changeId, nodename):
global pnfMap
pnfMap[groupIndex].add(nodename)
headStr = """
- {
+ '{
"event": {
"commonEventHeader": {
"startEpochMicrosec": 8745745764578,
@@ -1203,7 +1203,7 @@ def getEventEnd():
]
}
}
- }
+ }'
"""
return endStr