From f4a91fb980f04317d765b53629139b5b9d44ba85 Mon Sep 17 00:00:00 2001 From: Emily O'Leary Date: Sun, 15 Sep 2013 18:56:01 -0400 Subject: [PATCH] Fixed an out-of-order test harness assignment. --- tests/util/collection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/util/collection.py b/tests/util/collection.py index c9c1a4e..86665b1 100644 --- a/tests/util/collection.py +++ b/tests/util/collection.py @@ -30,6 +30,7 @@ class Collection(): username, password, mediatitle, collectiontitle, description, note ''' + testharness = unittest.FunctionTestCase(self) self.driver = webdriver.PhantomJS(phantomjs) self.driver.implicitly_wait(30) self.base_url = "http://127.0.0.1:6543" @@ -39,7 +40,6 @@ class Collection(): driver = self.driver tLogin = login.Login() tLogin.log_in(self, data) - testharness = unittest.FunctionTestCase(self) driver.get(self.base_url + "/") -- 2.1.4