Closed zdomke closed 1 week ago
Adding tests for ArchiveSearchWidget and ArchiveResultsTableModel.
ArchiveSearchWidget
ArchiveResultsTableModel
Fixing issues that came up during testing:
config.py
config.json
archiver_urls
archive_search.py
logger
ArchiveResultsTableModel.rowCount
QModelIndex
ArchiveSearchWidget.archive_url_textedit
$PYDM_ARCHIVER_URL
ArchiveSearchWidget.request_archiver_info
I managed to mess up this PR pretty badly. Opening a different one instead. ¯\(ツ)/¯
Adding tests for
ArchiveSearchWidget
andArchiveResultsTableModel
.Fixing issues that came up during testing:
config.py
&config.json
:archiver_urls
because I realized they aren't being used anywhere in the project and could cause confusionarchive_search.py
:logger
to prevent getting a duplicate loggerArchiveResultsTableModel.rowCount
implementation because it requires an argument when it should default to an emptyQModelIndex
ArchiveSearchWidget.archive_url_textedit
with$PYDM_ARCHIVER_URL
instead of hardcoding the URLArchiveSearchWidget.request_archiver_info
, make some wildcards work for 1+ characters instead of just 1 character