diff options
author | Remigiusz Janeczek <remigiusz.janeczek@nokia.com> | 2020-08-25 14:36:16 +0200 |
---|---|---|
committer | Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> | 2020-08-28 07:34:28 +0000 |
commit | 13b842ccd307ed4a2860b0044cf00d326f3866b9 (patch) | |
tree | 47193012d1b25cca94444c433fb9736e43866088 /test/mocks/datafilecollector-testharness/mr-sim | |
parent | d1cc6db2b73f6381e82cfa8613da66e8b3705440 (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.py | 4 |
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 |