From 68b217a4608988f3878c643df8c6bcddf854525d Mon Sep 17 00:00:00 2001 From: Bart Wensley Date: Thu, 6 Sep 2018 12:17:11 -0500 Subject: [PATCH] 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 --- tsconfig/tsconfig/tsconfig/tsconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig/tsconfig/tsconfig/tsconfig.py b/tsconfig/tsconfig/tsconfig/tsconfig.py index 98456223..11da04a0 100644 --- a/tsconfig/tsconfig/tsconfig/tsconfig.py +++ b/tsconfig/tsconfig/tsconfig/tsconfig.py @@ -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