Skip to content

Commit

Permalink
Fix pylint error
Browse files Browse the repository at this point in the history
  • Loading branch information
MinhPhan8803 committed Oct 29, 2022
1 parent 45fd5ba commit 4212ea3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified src/backend/database/database.db
Binary file not shown.
4 changes: 2 additions & 2 deletions src/backend/tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,11 @@ def test_mainpage_get_valid_pictures(client):
connection = sqlite3.connect("database/database.db")
cursor = connection.cursor()

sherman_id = cursor.execute(
sample_id = cursor.execute(
"SELECT apt_id FROM Apartments WHERE (apt_name = 'Sherman')"
).fetchone()[0]

query = {"pictures": "True", "aptId": sherman_id}
query = {"pictures": "True", "aptId": sample_id}
res = client.get("/main", query_string=query)

sample_json = '["Link1", "Link2", "Link3"]'
Expand Down

3 comments on commit 4212ea3

@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
TOTAL2320100%

Tests Skipped Failures Errors Time
44 0 💤 0 ❌ 0 🔥 0.573s ⏱️

@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
TOTAL2320100%

Tests Skipped Failures Errors Time
44 0 💤 0 ❌ 0 🔥 0.690s ⏱️

@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
TOTAL2320100%

Tests Skipped Failures Errors Time
44 0 💤 0 ❌ 0 🔥 0.798s ⏱️

Please sign in to comment.