-
Notifications
You must be signed in to change notification settings - Fork 17
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
Unit tests broken #2294
Comments
soininen
added a commit
that referenced
this issue
Aug 31, 2023
There was a wrong signature in a mock lambda Re #2294
soininen
added a commit
to spine-tools/spine-items
that referenced
this issue
Aug 31, 2023
This was probably a leftover from a merge conflict. Re spine-tools/Spine-Toolbox#2294
This was referenced Sep 1, 2023
soininen
added a commit
that referenced
this issue
Sep 1, 2023
The "mixin" style tests do not play nice with unit testing system. This replaces the mixins with a common base class that makes the tests actually work as independent modules. Re #2294
soininen
added a commit
that referenced
this issue
Sep 1, 2023
MultiDBTreeItem may have no db_map_ids for a short interval between the corresponding db item being removed from cache and the tree item still being a member of a tree. During this interval it was possible that the UI thread would try to access the data() mathod of MultiDBTreeItem which would Traceback. Re #2289,#2294
soininen
added a commit
that referenced
this issue
Sep 1, 2023
Refactor/fix test_custom_qtreeview module. The work is half-done with one test being currently skipped. Re #2294
soininen
added a commit
that referenced
this issue
Sep 4, 2023
We need to expand the tree view's items so the lists can prepare for fetching list values. Re #2294
soininen
added a commit
that referenced
this issue
Sep 4, 2023
This finishes refactoring and fixing of test_custom_qtreeview module. We're trying to drop objects/relationships in favor of entities in tests as well. Re #2294
soininen
added a commit
to spine-tools/Spine-Database-API
that referenced
this issue
Sep 6, 2023
soininen
added a commit
that referenced
this issue
Sep 6, 2023
Linx tests fail at a segmentation fault. Disabling them is a stopgap solution to get unit tests working again for the 0.8-dev branch. Re #2294
1 task
soininen
added a commit
to spine-tools/spine-engine
that referenced
this issue
Sep 6, 2023
Changed unit tests according to changes in spinedb_api, most notably the tool filter is now gone. Re spine-tools/Spine-Toolbox#2294
3 tasks
soininen
added a commit
to spine-tools/spine-engine
that referenced
this issue
Sep 6, 2023
soininen
added a commit
that referenced
this issue
Sep 6, 2023
Linx tests fail at a segmentation fault. Disabling them is a stopgap solution to get unit tests working again for the 0.8-dev branch. Re #2294
soininen
added a commit
that referenced
this issue
Sep 6, 2023
Tests were broken due to changes in spinedb_api Re #2294
soininen
added a commit
to spine-tools/spine-items
that referenced
this issue
Sep 7, 2023
There were a few issues with the Selected dimension spin box: - When Entity dimensions was set to 0, highlight dimension decreased to -1. We now set highlight dimension to None instead. - When Entity dimensions decrease, we need to make sure that Selected dimension is not greater than Entity dimensions. In such cases we used to decrease Selected dimension before we decreased Entity dimensions which silently overwrote the the update in Selected dimension as changing Entity dimensions creates new mappings. We now update Entity dimensions first, then adjust Selected dimension as needed. Also, fixed Exporter unit tests. Re spine-tools/Spine-Toolbox#2294
soininen
added a commit
to spine-tools/spine-items
that referenced
this issue
Sep 7, 2023
soininen
added a commit
to spine-tools/spine-items
that referenced
this issue
Sep 7, 2023
Done. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unit tests need to get fixed so we can start doing PRs for
0.8-dev
.The text was updated successfully, but these errors were encountered: