|
bb5f96cc38
|
Relax pylint design checker rules also for python2.7
|
2025-01-21 02:50:26 +02:00 |
|
|
00d9afb96b
|
Suppress no-member pylint warning in test_proofofwork, fix typo from a84168f2
|
2025-01-19 15:16:49 +02:00 |
|
|
73119af407
|
Test singleWorker._doPOWDefaults(), make it a classmethod (closes: #1834)
|
2025-01-15 19:37:00 +02:00 |
|
|
338c006bb1
|
Inherit TestProofofworkBase from partial.TestPartialRun
|
2025-01-15 19:37:00 +02:00 |
|
|
822950e8f3
|
Add tests for python PoW and a check for StopIteration in the calculate()
|
2025-01-15 19:37:00 +02:00 |
|
|
a84168f273
|
Format proofofwork once again
|
2025-01-15 19:36:59 +02:00 |
|
|
3b6db99152
|
Skip TestProofofwork based on BITMESSAGE_TEST_POW (set for py36 currently),
a minimal test case TestProofofworkBase runs in all envs.
|
2025-01-15 19:36:59 +02:00 |
|
|
c6ae9f6843
|
Use proofofwork.calculate() everywhere
|
2025-01-15 19:36:58 +02:00 |
|
|
120b044e2e
|
Define a couple of functions in proofofwork for common calculations,
add a test checking the result of proofofwork.calculate(),
define common samples for the pow.
|
2025-01-15 19:36:58 +02:00 |
|
|
d5f8d84f78
|
Initial efforts for testing the proofofwork:
a test case, a test with data and python3 support.
|
2025-01-15 19:36:52 +02:00 |
|