Skip to content

Commit

Permalink
Changed order of code so pylint stops complaining
Browse files Browse the repository at this point in the history
  • Loading branch information
MinhPhan8803 committed Oct 23, 2022
1 parent 665dca9 commit 2a1b143
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/backend/tests/test_mainpage.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@ def test_apartments_sorted_default(self):
sherman_id = cursor.execute(
"SELECT apt_id FROM Apartments WHERE (apt_name = 'Sherman')"
).fetchone()[0]
far_id = cursor.execute(
"SELECT apt_id FROM Apartments WHERE (apt_name = 'FAR')"
).fetchone()[0]
isr_id = cursor.execute(
"SELECT apt_id FROM Apartments WHERE (apt_name = 'ISR')"
).fetchone()[0]
far_id = cursor.execute(
"SELECT apt_id FROM Apartments WHERE (apt_name = 'FAR')"
).fetchone()[0]
connection.close()
sample_apts_sorted = []
sample_apts_sorted.append(Apt(far_id, "FAR", "901 W College Ct", 1, 6000, 7000))
Expand Down

3 comments on commit 2a1b143

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCover
TOTAL1710100%

Tests Skipped Failures Errors Time
36 0 💤 0 ❌ 0 🔥 0.596s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCover
TOTAL1710100%

Tests Skipped Failures Errors Time
36 0 💤 0 ❌ 0 🔥 0.792s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCover
TOTAL1710100%

Tests Skipped Failures Errors Time
36 0 💤 0 ❌ 0 🔥 0.998s ⏱️

Please sign in to comment.