title: Can a Robot Framework variable file create a dictionary that is usable in a test case?
body: <p>I'm trying to use a robot framework variable file to create a dictionary to describe the hardware in my test bed.  Depending on the value of the argument provided, different hardware will be returned.</p>
  
  <p>For example, this is the variable file that I am trying to use (named Topology.py):</p>
  
  <pre><code>import sys
  testbed = sys.argv[1]
  UUT1 = {}
  UUT2 = {}
  
  if testbed == 'development':
      UUT1 = {'platform': 'xyz', 'address': '192.168.1.1'}
      UUT2 = {'platform': 'xyz', 'address': '192.168.1.2'}
  if testbed == 'production':
      UUT1 = {'platform': 'pdq', 'address': '192.168.2.1'}
      UUT2 = {'platform': 'pdq', 'address': '192.168.2.2'}
  </code></pre>
  
  <p>My goal is then to be able to reference this dictionary from within a test case. For example:</p>
  
  <pre><code>| | Verify Unit Is Online | ${UUT1[address]}
  </code></pre>
  
  <p>The problem I am facing is that whenever I invoke the variable file, robot immediately exits with the following error:</p>
  
  <pre><code>[ ERROR ] Execution stopped by user.
  </code></pre>
  
  <p>Is it possible to use a dictionary in this manner?</p>