Skip to content

Commit

Permalink
issue #178 - fix py27 pyflakes error in last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jantman committed Mar 24, 2018
1 parent 3ed31f2 commit 06eb9d9
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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):
Expand Down Expand Up @@ -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):
Expand All @@ -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')
Expand Down Expand Up @@ -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):
Expand All @@ -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')
Expand Down Expand Up @@ -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

0 comments on commit 06eb9d9

Please sign in to comment.