From 30cf15d962fee10e4cbf62141650190e1bfba7a3 Mon Sep 17 00:00:00 2001 From: Schalk Neethling Date: Tue, 27 Mar 2012 19:30:36 +0200 Subject: [PATCH] fixes unit test to not make build unstable --- socorro/unittest/external/postgresql/test_products.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/socorro/unittest/external/postgresql/test_products.py b/socorro/unittest/external/postgresql/test_products.py index e947e8f707..11de585452 100644 --- a/socorro/unittest/external/postgresql/test_products.py +++ b/socorro/unittest/external/postgresql/test_products.py @@ -54,7 +54,7 @@ def setUp(self): '11.0.1', '%s', '%s', - False + False, 'Release', 20.00 ), @@ -65,7 +65,7 @@ def setUp(self): '%s', False, 'Release', - 30.00 + 30.00 ); """ % (now, now, now, now, @@ -87,7 +87,7 @@ def tearDown(self): def test_get(self): products = Products(config=self.config) now = datetimeutil.utc_now() - now = datetime.datetime(now.year, now.month, now.day, tzinfo=now.tzinfo) + now = datetime.datetime(now.year, now.month, now.day) now_str = datetimeutil.date_to_string(now) #......................................................................