Skip to content

Mock classes/threads for backend #1878

Open
@PeterSurda

Description

@PeterSurda
Member

Create the following mock threads that can be used for UI tests

  • worker (pretend to do PoW and mark message as sent after a while, or pretend the key doesn't exist)
    Object Processor (pretend objects are arriving from network and insert records into inbox or pubkey tables)
    Network thread (just return fake connections, bandwidth)

These will then be used for tests so that we have a more lightweight UI testing capability (Qt, kivy, ...)
Make them compatible with Python 2 and Python 3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @PeterSurda@kdcis

      Issue actions

        Mock classes/threads for backend · Issue #1878 · Bitmessage/PyBitmessage