commit | b7942773089edee66993efbc203028803d982fa7 | [log] [tgz] |
---|---|---|
author | Steve Baker <sbaker@redhat.com> | Thu Jun 27 10:23:28 2013 +1200 |
committer | Steve Baker <sbaker@redhat.com> | Wed Jul 03 09:08:24 2013 +1200 |
tree | 3e566d41965f9617db6499d6bc223138e3e64cd3 | |
parent | 2ea8323ea32ed1c2303643450cfd10ea650b2cca [diff] |
Create stack in class setup, rather than instance. The intent of creating the instance in a setup method was so that the test methods could share a single instance to perform their tests. However, doing it in setUp() resulted in an instance per test method, which is the opposite of the original intent. Moving instance creation to the class setup means only one instance is created. Change-Id: Ie54573e7371e53a60350a3693a740ac56925b520