Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ST-618: use correct parent class for Authenticators #288

Merged
merged 2 commits into from
Aug 1, 2019

Conversation

ashcherbakov
Copy link
Contributor

  • TokenAuthNr and FeesAuthNr extend LedgerBasedAuthNr, not CoreAuthNr now
  • bumped libindy and libsovtoken

Copy link
Contributor

@skhoroshavin skhoroshavin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good for me

looper.run(eventually(
lambda: assertExp(
get_committed_txns_count_for_pool(nodeSetWithIntegratedTokenPlugin,
TOKEN_LEDGER_ID) == committed_size_before_token + 1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some time ago when debugging tests which used assertExp I found that pytest doesn't output any useful information except that assert failed. For that reason I've created another helper called assert_eq which accepts two parameters (left-hand and right-hand side) and in case of assertion failure outputs their values, which often can lead to faster problem detection. So, I recommend using this helper here as well.

@KitHat KitHat merged commit 1587cf5 into sovrin-foundation:master Aug 1, 2019
lampkin-diet pushed a commit to lampkin-diet/token-plugin that referenced this pull request Aug 29, 2019
ST-618:  use correct parent class for Authenticators

Signed-off-by: Andrew Nikitin <[email protected]>
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