Skip to content

Commit

Permalink
Updated tests for dashboard columns, refs #106
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed May 15, 2021
1 parent b0f4a6d commit 243a5f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_project/test_dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def test_dashboard_show_available_tables(admin_client, dashboard_db):
soup = BeautifulSoup(response.content, "html5lib")
lis = soup.find("ul").findAll("li")
details = [
{"table": li.find("a").text, "columns": li.find("span").text}
{"table": li.find("a").text, "columns": li.find("p").text}
for li in lis
if li.find("a").text.startswith("django_sql_dashboard")
]
Expand Down

0 comments on commit 243a5f8

Please sign in to comment.