Skip to content

Set init0 as default account in message tests.#107

Merged
xeroc merged 1 commit intobitshares:developfrom
jhtitor:test_message
May 28, 2018
Merged

Set init0 as default account in message tests.#107
xeroc merged 1 commit intobitshares:developfrom
jhtitor:test_message

Conversation

@jhtitor
Copy link
Copy Markdown
Contributor

@jhtitor jhtitor commented May 16, 2018

I'm not entirely sure this is the right thing to do, but
a) other tests seem to do it
b) "init0" is NOT the default config option

I'm not entirely sure this is the right thing to do, but
a) other tests seem to do it
b) "init0" is NOT the default config option
@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #107 into develop will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #107   +/-   ##
========================================
  Coverage    59.41%   59.41%           
========================================
  Files           37       37           
  Lines         3501     3501           
========================================
  Hits          2080     2080           
  Misses        1421     1421

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 69dc9f3...5a6bea9. Read the comment docs.

@xeroc
Copy link
Copy Markdown
Member

xeroc commented May 28, 2018

Yhea, the reason here was that I need a "default" account for unit testing or I need to provide an "account" expliticlty.

This kind of fix comes with a drawback, namely, if you have pybitshares installed localled and you run the tests, it will change your default account.
Maybe we can modify this behavior and make that change non persistent.

@xeroc xeroc merged commit cd18153 into bitshares:develop May 28, 2018
xeroc added a commit that referenced this pull request Jun 27, 2018
Release 0.1.17

1682c83 (HEAD -> master) Merge branch 'release/0.1.17'
045f38f (release/0.1.17) version bump
8706c06 (develop) fix expiration
8eec89e Merge branch 'cla-contributing' into develop
de6dcb4 (origin/cla-contributing, cla-contributing) fixing markdown
0996b7e Updates to contribution and code of conduct
4d8db16 github presentation
74dfb05 initial CLA
c4fdf86 (origin/develop) separate code of conduct and ocntributing
3d5dcff AUTHORS and CONTRIBUTING
ec72929 Merge pull request #99 from jhtitor/witness_worker_lazy_list
6aa4448 Set default lazy to False when fetching Worker and Witness lists.
efc63ba Order amount fix
c602cad Allow to set and unset proxy for an account
e9f4a26 Community link to telegram
677aefa Fix asset_fee declaration
f5b8beb Fix unit test
be51320 Merge remote-tracking branch 'origin/master' into develop
85cda76 Merge pull request #106 from jhtitor/acc_ext2
cd18153 Merge pull request #107 from jhtitor/test_message
c218e59 Merge pull request #108 from jhtitor/pycryptodome
5a13484 Merge pull request #109 from tianyekuo/develop
3ff9e76 fix test
f8e6f5f improve blockchainobject
7aa7d87 cache account name
fa877c0 Test against witness node
c50d500 cleanup setup.cfg
2a80da3 Remove limitation for maintenance collateral ratio
2bbcfc9 fix worker_create to require BTS - wouldn't work on testnet
6628144 updates to transactionbuilder
dbae335 Finish migration to PyCryptodome.
5a6bea9 Set init0 as default account in message tests.
c45981d Allow empty list as AccountCreateExtension(s) -- for real this time.
69dc9f3 fix #94
f0ca80d fix #86
1cea535 try to fix travis-ci
35ffe2b move configuration to setup.cfg and add flake8 strict pre-commit hook
eea5132 fix tox.ini
4c16ed4 fix tox.ini
9c293c5 testing new tox.ini coverage settings
1065657 Fix #100
59c307d Add non-lazy load for Witness and Worker lists.
bd96ce7 unit tests
26811ed Add required module
62bc46e Unified with pypeerplays and fix linting
f27b3b5 Merge tag '0.1.16' into develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants