rattail/tests/autocomplete
Lance Edgar 1641e0ea14 fix: add startup workaround for trainwreck query bug
not at all clear why, but c621e21cd4 has
introduced some strange bug where the "first" trainwreck query will
raise an error and yet subsequent queries work fine.

so now in the startup sequence we simply force a query, which for
unknown reasons does *not* raise any error, and will somehow magically
prevent the error when a "normal" trainwreck query happens later.

AFAIK this is a "benign" operation and causes no real side effects
other than preventing the strange error.  fingers crossed, this is
fine and will not cause further problems...??!
2024-09-03 10:57:59 -05:00
..
__init__.py Add some tests for autocompleter logic 2022-01-08 15:30:30 -06:00
test_base.py fix: add startup workaround for trainwreck query bug 2024-09-03 10:57:59 -05:00
test_brands.py fix: add startup workaround for trainwreck query bug 2024-09-03 10:57:59 -05:00
test_customers.py fix: add startup workaround for trainwreck query bug 2024-09-03 10:57:59 -05:00
test_departments.py fix: add startup workaround for trainwreck query bug 2024-09-03 10:57:59 -05:00
test_employees.py fix: add startup workaround for trainwreck query bug 2024-09-03 10:57:59 -05:00
test_people.py fix: add startup workaround for trainwreck query bug 2024-09-03 10:57:59 -05:00
test_products.py fix: add startup workaround for trainwreck query bug 2024-09-03 10:57:59 -05:00
test_vendors.py fix: add startup workaround for trainwreck query bug 2024-09-03 10:57:59 -05:00