From 1a86f638a230024b76146be9e4391e75a4594773 Mon Sep 17 00:00:00 2001 From: Taka Date: Thu, 14 Feb 2019 08:56:39 +0000 Subject: [PATCH] Preserve the GPID remappings correctly during tests. --- vasl_templates/webapp/tests/remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vasl_templates/webapp/tests/remote.py b/vasl_templates/webapp/tests/remote.py index 68cd841..5c03942 100644 --- a/vasl_templates/webapp/tests/remote.py +++ b/vasl_templates/webapp/tests/remote.py @@ -114,7 +114,7 @@ class ControlTests: """Configure the GPID remappings.""" if isinstance( gpids, str ): gpids = json.loads( gpids.replace( "'", '"' ) ) - gpids = { int(k): v for k,v in gpids.items() } + gpids = { str(k): v for k,v in gpids.items() } _logger.info( "Setting GPID remappings: %s", gpids ) prev_gpid_mappings = webapp_file_server_utils.GPID_REMAPPINGS webapp_file_server_utils.GPID_REMAPPINGS = gpids