From 06eb9d9a3f808bc5c7c5c6b4a0e342456091acf0 Mon Sep 17 00:00:00 2001 From: Jason Antman Date: Sat, 24 Mar 2018 17:21:18 -0400 Subject: [PATCH] issue #178 - fix py27 pyflakes error in last commit --- .../acceptance/flaskapp/views/test_transactions.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/biweeklybudget/tests/acceptance/flaskapp/views/test_transactions.py b/biweeklybudget/tests/acceptance/flaskapp/views/test_transactions.py index df38f021..4206f846 100644 --- a/biweeklybudget/tests/acceptance/flaskapp/views/test_transactions.py +++ b/biweeklybudget/tests/acceptance/flaskapp/views/test_transactions.py @@ -1312,7 +1312,7 @@ def test_30_verify_db_before(self, testdb): assert t.budget_transactions[1].budget_id == 1 assert t.budget_transactions[1].amount == Decimal('100.10') assert max([ - t.id for t in testdb.query(Transaction).all() + tx.id for tx in testdb.query(Transaction).all() ]) == 4 def test_31_split_2_modal_populate(self, base_url, selenium): @@ -1487,7 +1487,7 @@ def test_32_new_split_trans(self, base_url, selenium, testdb): 4: Decimal('75') } assert max([ - t.id for t in testdb.query(Transaction).all() + tx.id for tx in testdb.query(Transaction).all() ]) == 5 def test_33_change_split_trans(self, base_url, selenium, testdb): @@ -1625,7 +1625,7 @@ def test_33_change_split_trans(self, base_url, selenium, testdb): 4: Decimal('75') } assert max([ - t.id for t in testdb.query(Transaction).all() + tx.id for tx in testdb.query(Transaction).all() ]) == 5 def test_34_existing_trans_to_split(self, base_url, selenium, testdb): @@ -1643,7 +1643,7 @@ def test_34_existing_trans_to_split(self, base_url, selenium, testdb): 2: Decimal('222.22') } assert max([ - t.id for t in testdb.query(Transaction).all() + tx.id for tx in testdb.query(Transaction).all() ]) == 5 self.baseurl = base_url self.get(selenium, base_url + '/transactions') @@ -1721,7 +1721,7 @@ def test_35_verify_db(self, testdb): 4: Decimal('122.20') } assert max([ - t.id for t in testdb.query(Transaction).all() + tx.id for tx in testdb.query(Transaction).all() ]) == 5 def test_36_existing_split_trans_to_not(self, base_url, selenium, testdb): @@ -1740,7 +1740,7 @@ def test_36_existing_split_trans_to_not(self, base_url, selenium, testdb): 4: Decimal('122.20') } assert max([ - t.id for t in testdb.query(Transaction).all() + tx.id for tx in testdb.query(Transaction).all() ]) == 5 self.baseurl = base_url self.get(selenium, base_url + '/transactions') @@ -1808,5 +1808,5 @@ def test_37_verify_db(self, testdb): 2: Decimal('222.22') } assert max([ - t.id for t in testdb.query(Transaction).all() + tx.id for tx in testdb.query(Transaction).all() ]) == 5