Update tsconfig SW_VERSION to dummy value when running unit tests

This is being done to allow unit tests to remain unchanged when
the release version changes. Without this change, the
controllerconfig unit tests were verifying hardcoded release
numbers which changed each release.

Story: 2003360
Task: 26214

Change-Id: Ic5411ac4e9c7be9de329fa99dd438aeba1914fbd
Signed-off-by: Bart Wensley <barton.wensley@windriver.com>
changes/85/600485/1
Bart Wensley 5 years ago
parent 3bc6628096
commit 68b217a460

@ -47,7 +47,7 @@ def _load():
if not os.path.isfile(build_info):
# Assume that we are in a test environment. Dirty, dirty, dirty...
SW_VERSION = '18.03'
SW_VERSION = 'TEST.SW.VERSION'
nodetype = 'controller'
subfunctions = ['controller']
return

Loading…
Cancel
Save