Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix failing test in SourceListViewTest #1723

Open
lucasmarchd01 opened this issue Nov 29, 2024 · 1 comment
Open

Fix failing test in SourceListViewTest #1723

lucasmarchd01 opened this issue Nov 29, 2024 · 1 comment

Comments

@lucasmarchd01
Copy link
Contributor

======================================================================
FAIL: test_ordering (main_app.tests.test_views.test_source.SourceListViewTest) [Order by country, ascending]
Order is currently available by country, city + institution name (parameter:
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/cantusdb_project/main_app/tests/test_views/test_source.py", line 1112, in test_ordering
    self.assertEqual(
AssertionError: Lists differ: [<Sou[337 chars]outh Derrick, Sit ad repellendus nihil placeat[883 chars]ab.>] != [<Sou[337 chars]outh Joseburgh, Dignissimos atque excepturi ne[883 chars]ab.>]

First differing element 3:
<Source: South Derrick, Sit ad repellendus nihil placeat[42 chars] ab.>
<Source: South Joseburgh, Dignissimos atque excepturi ne[81 chars]uia.>

Diff is 1456 characters long. Set self.maxDiff to None to see it.

----------------------------------------------------------------------
Ran 352 tests in 52.808s

FAILED (failures=1, skipped=9)
@dchiller
Copy link
Contributor

dchiller commented Dec 2, 2024

I believe this will be solved when #1716 is merged (are you getting this failure intermittently?) but let's see...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants