Added mock code #1883
No reviewers
Labels
No Label
bug
build
dependencies
developers
documentation
duplicate
enhancement
formatting
invalid
legal
mobile
obsolete
packaging
performance
protocol
question
refactoring
regression
security
test
translation
usability
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Bitmessage/PyBitmessage-2024-12-05#1883
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "kdcis/mock-test"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Added mock code for class_objectProcessor, class_singleWorker, inventory, connectionpool & stats
Wrong placement. There shouldn't be a
mock
package, because the end user doesn't need it. Please move into tests.it will never happen
This is not a mock class because it uses
sqlQuery()
fromhelper_sql
, thus depends on thesqlThread
#1794 contains a test sql class (runs in-memory database and allows custom schema initialization), that will be used here as well.
There are some technical difficulties with such an approach at the moment, needs a bit more work to fix it.
For the time being we can skip this, yes.
here it can start launching the mock threads.
25 - 41 - remove