title: What is the best way to pass variables to my unittest instances?
body: <p>I've got test classes that inherit from unittest.TestCase. I load the classes multiple times like so:</p>
  
  <pre><code>tests = [TestClass1, TestClass2]
  for test in tests:
      for var in array:
          # somehow indicate that this test should have the value of 'var'
          suite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(test))
  </code></pre>
  
  <p>Thing is, I want to pass the value of 'var' to each test, but I cannot use class variables because they are shared between every instance of the class, and I don't have access to the code that actually does the instantiation of the objects. What is the best way of accomplishing this?</p>