test suite: minor fixes
This commit is contained in:
parent
ff28d39a3c
commit
19592955cb
4 changed files with 6 additions and 6 deletions
|
|
@ -128,6 +128,9 @@ ignored-classes = [ # ignored for no-member, otherwise checked
|
|||
"MnEntryMode",
|
||||
"deserialized_tx",
|
||||
# test suite:
|
||||
"CmdTestEthdevMethods",
|
||||
"CmdTestEthBumpMethods",
|
||||
"CmdTestEthSwapMethods",
|
||||
"TestHashFunc",
|
||||
"GenTool",
|
||||
"VirtBlockDeviceBase",
|
||||
|
|
|
|||
|
|
@ -421,14 +421,13 @@ class CmdTestEthSwapEth(CmdTestEthSwapMethods, CmdTestSwapMethods, CmdTestEthdev
|
|||
return self._swaptxsend()
|
||||
|
||||
def swaptxstatus1(self):
|
||||
self.mining_delay()
|
||||
return self._swaptxsend(add_opts=['--verbose', '--status'], status=True)
|
||||
|
||||
def swaptxmemo4(self):
|
||||
self.mining_delay()
|
||||
return self._swaptxmemo('=:b:mkQsXA7mqDtnUpkaXMbDtAL1KMeof4GPw3:0/1/0')
|
||||
|
||||
def swaptxreceipt4(self):
|
||||
self.mining_delay()
|
||||
return self._swaptxsend(add_opts=['--receipt'], spawn_only=True)
|
||||
|
||||
def swaptxsend5_test(self):
|
||||
|
|
|
|||
|
|
@ -135,9 +135,6 @@ class CmdTestSwapMethods:
|
|||
t.expect('(Y/n): ', 'y') # fee OK?
|
||||
t.expect('(Y/n): ', 'y') # change OK?
|
||||
t.expect('(y/N): ', 'n') # add comment?
|
||||
if reload_quote:
|
||||
t.expect('to continue: ', 'r') # reload swap quote
|
||||
t.expect('to continue: ', '\n') # exit swap quote view
|
||||
t.expect('view: ', 'y') # view TX
|
||||
if expect:
|
||||
t.expect(expect)
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ groups_desc="
|
|||
init_groups() {
|
||||
dfl_tests='dep alt obj color daemon mod hash ref tool tool2 gen help autosign btc btc_tn btc_rt altref altgen bch bch_rt ltc ltc_rt eth etc xmr'
|
||||
extra_tests='dep dev lint pylint autosign_live ltc_tn bch_tn'
|
||||
noalt_tests='dep alt obj color daemon mod hash ref tool tool2 gen help autosign btc btc_tn btc_rt'
|
||||
noalt_tests='dep alt obj color daemon mod hash ref tool tool2 gen help autosign btc btc_tn btc_rt pylint'
|
||||
quick_tests='dep alt obj color daemon mod hash ref tool tool2 gen help autosign btc btc_rt altref altgen eth etc xmr'
|
||||
qskip_tests='lint btc_tn bch bch_rt ltc ltc_rt'
|
||||
noalt_ok_tests='lint'
|
||||
|
|
@ -93,6 +93,7 @@ init_tests() {
|
|||
a $pylint $PYLINT_OPTS --ignore-paths '.*/ethdev.py' --disable=relative-beyond-top-level test/cmdtest_d
|
||||
- $pylint $PYLINT_OPTS examples
|
||||
"
|
||||
if [ "$SKIP_ALT_DEP" ]; then t_pylint_skip='b'; else t_pylint_skip='a'; fi
|
||||
|
||||
d_daemon="low-level subsystems involving coin daemons"
|
||||
t_daemon="- $daemontest_py --exclude exec"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue